projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae83d0b
)
x86/boot/build: Add cpustr.h to targets and remove clean-files
author
Masahiro Yamada
<masahiroy@kernel.org>
Sat, 15 Feb 2020 06:32:41 +0000
(15:32 +0900)
committer
Borislav Petkov
<bp@suse.de>
Tue, 21 Apr 2020 08:17:29 +0000
(10:17 +0200)
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
arch/x86/boot/Makefile
patch
|
blob
|
history
diff --git
a/arch/x86/boot/Makefile
b/arch/x86/boot/Makefile
index e17be90ab3129cda2d83047b644c31838048c5b6..02c8d1c2f47e87c3134e184f8cda3134ebfcf28f 100644
(file)
--- 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-file
s += cpustr.h
+
target
s += cpustr.h
# ---------------------------------------------------------------------------