x86/build: Remove redundant 'clean-files += capflags.c'
Changes
1 files changed · +1 −2
| File | Status | Add | Del | Content |
|---|---|---|---|---|
| arch/x86/kernel/cpu/Makefile | modified | +1 | −2 | View file |
arch/x86/kernel/cpu/Makefile
View filediff --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