aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/boot
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2020-02-15 15:32:41 +0900
committerBorislav Petkov <bp@suse.de>2020-04-21 10:17:29 +0200
commite3c7c1052271260955affbe65c4f328286fbe5fb (patch)
tree77479765ccb3c6bf4927d3f20d3a8443f753acf1 /arch/x86/boot
parentLinux 5.7-rc2 (diff)
downloadlinux-dev-e3c7c1052271260955affbe65c4f328286fbe5fb.tar.xz
linux-dev-e3c7c1052271260955affbe65c4f328286fbe5fb.zip
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@kernel.org> Signed-off-by: Borislav Petkov <bp@suse.de> Link: https://lkml.kernel.org/r/20200215063241.7437-1-masahiroy@kernel.org
Diffstat (limited to 'arch/x86/boot')
-rw-r--r--arch/x86/boot/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/boot/Makefile b/arch/x86/boot/Makefile
index e17be90ab312..02c8d1c2f47e 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
# ---------------------------------------------------------------------------