Commit 280dbc57 authored by Bjørn Mork's avatar Bjørn Mork Committed by Ingo Molnar

x86/build: Clean auto-generated processor feature files

Commit 9def39be ("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: 9def39be ("x86: Support compiling out human-friendly processor feature names")
Signed-off-by: default avatarBjø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.noSigned-off-by: default avatarIngo Molnar <mingo@kernel.org>
parent ea174f4c
...@@ -51,6 +51,7 @@ targets += cpustr.h ...@@ -51,6 +51,7 @@ targets += cpustr.h
$(obj)/cpustr.h: $(obj)/mkcpustr FORCE $(obj)/cpustr.h: $(obj)/mkcpustr FORCE
$(call if_changed,cpustr) $(call if_changed,cpustr)
endif endif
clean-files += cpustr.h
# --------------------------------------------------------------------------- # ---------------------------------------------------------------------------
......
...@@ -66,3 +66,4 @@ targets += capflags.c ...@@ -66,3 +66,4 @@ targets += capflags.c
$(obj)/capflags.c: $(cpufeature) $(src)/mkcapflags.sh FORCE $(obj)/capflags.c: $(cpufeature) $(src)/mkcapflags.sh FORCE
$(call if_changed,mkcapflags) $(call if_changed,mkcapflags)
endif endif
clean-files += capflags.c
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment