[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200215063241.7437-1-masahiroy@kernel.org>
Date: Sat, 15 Feb 2020 15:32:41 +0900
From: Masahiro Yamada <masahiroy@...nel.org>
To: x86@...nel.org, Ingo Molnar <mingo@...nel.org>,
Thomas Gleixner <tglx@...utronix.de>,
Borislav Petkov <bp@...en8.de>,
"H . Peter Anvin" <hpa@...or.com>
Cc: Masahiro Yamada <masahiroy@...nel.org>,
Ard Biesheuvel <ardb@...nel.org>,
Bruce Ashfield <bruce.ashfield@...il.com>,
Daniel Kiper <daniel.kiper@...cle.com>,
Ingo Molnar <mingo@...hat.com>,
Konrad Rzeszutek Wilk <konrad.wilk@...cle.com>,
Ross Burton <ross.burton@...el.com>,
linux-kernel@...r.kernel.org
Subject: [PATCH] x86/boot/build: add cpustr.h to targets and remove clean-files
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@...nel.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
Powered by blists - more mailing lists