projects/linux·commit 87b61864

x86/build: Remove redundant 'clean-files += capflags.c'

87b61864 · Masahiro Yamada <[email protected]> · 2019-06-25 16:33:11 +09:00

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]
Commit
87b61864d7ab2aec5c212ff18950d4972f0dfb4e
Parents
bc53d3d7

Changes

1 files changed · +1 −2

FileStatusAddDelContent
arch/x86/kernel/cpu/Makefilemodified+1−2View file

arch/x86/kernel/cpu/Makefile

View file
diff --git a/arch/x86/kernel/cpu/Makefile b/arch/x86/kernel/cpu/Makefile
index 5102bf7..50abae9 100644
--- a/arch/x86/kernel/cpu/Makefile
+++ b/arch/x86/kernel/cpu/Makefile
@@ -54,8 +54,7 @@ quiet_cmd_mkcapflags = MKCAP $@
cpufeature = $(src)/../../include/asm/cpufeatures.h
-targets += capflags.c
$(obj)/capflags.c: $(cpufeature) $(src)/mkcapflags.sh FORCE
$(call if_changed,mkcapflags)
endif
-clean-files += capflags.c
+targets += capflags.c