* [PATCH] x86: clean auto-generated processor feature files
@ 2014-12-23 11:57 Bjørn Mork
2014-12-23 14:39 ` [tip:x86/urgent] x86/build: Clean " tip-bot for Bjørn Mork
0 siblings, 1 reply; 2+ messages in thread
From: Bjørn Mork @ 2014-12-23 11:57 UTC (permalink / raw)
To: x86
Cc: linux-kernel, H. Peter Anvin, Thomas Gleixner, Ingo Molnar,
Bjørn Mork, Josh Triplett
Commit 9def39be4e96 ("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: 9def39be4e96 ("x86: Support compiling out human-friendly processor feature names")
Cc: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Bjørn Mork <bjorn@mork.no>
---
arch/x86/boot/Makefile | 1 +
arch/x86/kernel/cpu/Makefile | 1 +
2 files changed, 2 insertions(+)
diff --git a/arch/x86/boot/Makefile b/arch/x86/boot/Makefile
index 5b016e2498f3..3db07f30636f 100644
--- a/arch/x86/boot/Makefile
+++ b/arch/x86/boot/Makefile
@@ -51,6 +51,7 @@ targets += cpustr.h
$(obj)/cpustr.h: $(obj)/mkcpustr FORCE
$(call if_changed,cpustr)
endif
+clean-files += cpustr.h
# ---------------------------------------------------------------------------
diff --git a/arch/x86/kernel/cpu/Makefile b/arch/x86/kernel/cpu/Makefile
index e27b49d7c922..80091ae54c2b 100644
--- a/arch/x86/kernel/cpu/Makefile
+++ b/arch/x86/kernel/cpu/Makefile
@@ -66,3 +66,4 @@ targets += capflags.c
$(obj)/capflags.c: $(cpufeature) $(src)/mkcapflags.sh FORCE
$(call if_changed,mkcapflags)
endif
+clean-files += capflags.c
--
2.1.3
^ permalink raw reply [flat|nested] 2+ messages in thread
* [tip:x86/urgent] x86/build: Clean auto-generated processor feature files
2014-12-23 11:57 [PATCH] x86: clean auto-generated processor feature files Bjørn Mork
@ 2014-12-23 14:39 ` tip-bot for Bjørn Mork
0 siblings, 0 replies; 2+ messages in thread
From: tip-bot for Bjørn Mork @ 2014-12-23 14:39 UTC (permalink / raw)
To: linux-tip-commits; +Cc: hpa, bjorn, josh, tglx, mingo, linux-kernel
Commit-ID: 280dbc572357eb50184663fc9e4aaf09c8141e9b
Gitweb: http://git.kernel.org/tip/280dbc572357eb50184663fc9e4aaf09c8141e9b
Author: Bjørn Mork <bjorn@mork.no>
AuthorDate: Tue, 23 Dec 2014 12:57:43 +0100
Committer: Ingo Molnar <mingo@kernel.org>
CommitDate: Tue, 23 Dec 2014 15:37:06 +0100
x86/build: Clean auto-generated processor feature files
Commit 9def39be4e96 ("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: 9def39be4e96 ("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>
---
arch/x86/boot/Makefile | 1 +
arch/x86/kernel/cpu/Makefile | 1 +
2 files changed, 2 insertions(+)
diff --git a/arch/x86/boot/Makefile b/arch/x86/boot/Makefile
index 5b016e2..3db07f3 100644
--- a/arch/x86/boot/Makefile
+++ b/arch/x86/boot/Makefile
@@ -51,6 +51,7 @@ targets += cpustr.h
$(obj)/cpustr.h: $(obj)/mkcpustr FORCE
$(call if_changed,cpustr)
endif
+clean-files += cpustr.h
# ---------------------------------------------------------------------------
diff --git a/arch/x86/kernel/cpu/Makefile b/arch/x86/kernel/cpu/Makefile
index e27b49d..80091ae 100644
--- a/arch/x86/kernel/cpu/Makefile
+++ b/arch/x86/kernel/cpu/Makefile
@@ -66,3 +66,4 @@ targets += capflags.c
$(obj)/capflags.c: $(cpufeature) $(src)/mkcapflags.sh FORCE
$(call if_changed,mkcapflags)
endif
+clean-files += capflags.c
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-12-23 14:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-23 11:57 [PATCH] x86: clean auto-generated processor feature files Bjørn Mork
2014-12-23 14:39 ` [tip:x86/urgent] x86/build: Clean " tip-bot for Bjørn Mork
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome