OSDN Git Service

x86/build: Remove redundant 'clean-files += capflags.c'
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 25 Jun 2019 07:33:11 +0000 (16:33 +0900)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 25 Jun 2019 07:52:06 +0000 (09:52 +0200)
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 <yamada.masahiro@socionext.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Borislav Petkov <bp@alien8.de>
Link: https://lkml.kernel.org/r/20190625073311.18303-1-yamada.masahiro@socionext.com
arch/x86/kernel/cpu/Makefile

index 5102bf7..50abae9 100644 (file)
@@ -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