Skip to content

Commit 280dbc5

Browse files
bmorkIngo Molnar
authored andcommitted
x86/build: Clean auto-generated processor feature files
Commit 9def39b ("x86: Support compiling out human-friendly processor feature names") made two source file targets conditional. Such conditional targets will not be cleaned automatically by make mrproper. Fix by adding explicit clean-files targets for the two files. Fixes: 9def39b ("x86: Support compiling out human-friendly processor feature names") Signed-off-by: Bjørn Mork <bjorn@mork.no> Cc: Josh Triplett <josh@joshtriplett.org> Link: http://lkml.kernel.org/r/1419335863-10608-1-git-send-email-bjorn@mork.no Signed-off-by: Ingo Molnar <mingo@kernel.org>
1 parent ea174f4 commit 280dbc5

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

arch/x86/boot/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ targets += cpustr.h
5151
$(obj)/cpustr.h: $(obj)/mkcpustr FORCE
5252
$(call if_changed,cpustr)
5353
endif
54+
clean-files += cpustr.h
5455

5556
# ---------------------------------------------------------------------------
5657

arch/x86/kernel/cpu/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,3 +66,4 @@ targets += capflags.c
6666
$(obj)/capflags.c: $(cpufeature) $(src)/mkcapflags.sh FORCE
6767
$(call if_changed,mkcapflags)
6868
endif
69+
clean-files += capflags.c

0 commit comments

Comments
 (0)