linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] x86/boot/build: add cpustr.h to targets and remove clean-files
@ 2020-02-15  6:32 Masahiro Yamada
  2020-03-30  6:42 ` Masahiro Yamada
  2020-04-21 10:00 ` [tip: x86/build] x86/boot/build: Add " tip-bot2 for Masahiro Yamada
  0 siblings, 2 replies; 3+ messages in thread
From: Masahiro Yamada @ 2020-02-15  6:32 UTC (permalink / raw)
  To: x86, Ingo Molnar, Thomas Gleixner, Borislav Petkov, H . Peter Anvin
  Cc: Masahiro Yamada, Ard Biesheuvel, Bruce Ashfield, Daniel Kiper,
	Ingo Molnar, Konrad Rzeszutek Wilk, Ross Burton, linux-kernel

Files in $(targets) are always cleaned up.

Move the 'targets' assignment out of the ifdef and remove 'clean-files'.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
---

 arch/x86/boot/Makefile | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/arch/x86/boot/Makefile b/arch/x86/boot/Makefile
index 012b82fc8617..050164ba3def 100644
--- a/arch/x86/boot/Makefile
+++ b/arch/x86/boot/Makefile
@@ -57,11 +57,10 @@ $(obj)/cpu.o: $(obj)/cpustr.h
 
 quiet_cmd_cpustr = CPUSTR  $@
       cmd_cpustr = $(obj)/mkcpustr > $@
-targets += cpustr.h
 $(obj)/cpustr.h: $(obj)/mkcpustr FORCE
 	$(call if_changed,cpustr)
 endif
-clean-files += cpustr.h
+targets += cpustr.h
 
 # ---------------------------------------------------------------------------
 
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-04-21 10:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-15  6:32 [PATCH] x86/boot/build: add cpustr.h to targets and remove clean-files Masahiro Yamada
2020-03-30  6:42 ` Masahiro Yamada
2020-04-21 10:00 ` [tip: x86/build] x86/boot/build: Add " tip-bot2 for Masahiro Yamada

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).