Skip to content

Commit 87b6186

Browse files
masahir0yKAGA-KOKO
authored andcommitted
x86/build: Remove redundant 'clean-files += capflags.c'
All the files added to 'targets' are cleaned. Adding the same file to both 'targets' and 'clean-files' is redundant. Signed-off-by: Masahiro Yamada <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Cc: "H. Peter Anvin" <[email protected]> Cc: Borislav Petkov <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
1 parent bc53d3d commit 87b6186

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

arch/x86/kernel/cpu/Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,7 @@ quiet_cmd_mkcapflags = MKCAP $@
5454

5555
cpufeature = $(src)/../../include/asm/cpufeatures.h
5656

57-
targets += capflags.c
5857
$(obj)/capflags.c: $(cpufeature) $(src)/mkcapflags.sh FORCE
5958
$(call if_changed,mkcapflags)
6059
endif
61-
clean-files += capflags.c
60+
targets += capflags.c

0 commit comments

Comments
 (0)