x86/boot/build: add cpustr.h to targets and remove clean-files
PATCH 1/1 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 <[email protected]>
---
arch/x86/boot/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
arch/x86/boot/Makefile +1 -2
@@ -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 # ---------------------------------------------------------------------------
Signature · 1 line
2.17.1
Quoted 6 lines · Masahiro Yamada
Files in $(targets) are always cleaned up.
Move the 'targets' assignment out of the ifdef and remove 'clean-files'.
Signed-off-by Masahiro Yamada <[email protected]>
This is not a big deal, but let me ping just in case you missed it.
Quoted 25 lines
---
arch/x86/boot/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)arch/x86/boot/Makefile +1
-3@@ -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
Signature · 2 lines
Best Regards Masahiro Yamada
[tip: x86/build] x86/boot/build: Add cpustr.h to targets and remove clean-files
In reply to Masahiro YamadaThe following commit has been merged into the x86/build branch of tip:
The following commit has been merged into the x86/build branch of tip:
Commit-ID: e3c7c1052271260955affbe65c4f328286fbe5fb Gitweb: https://git.kernel.org/tip/e3c7c1052271260955affbe65c4f328286fbe5fb Author: Masahiro Yamada <[email protected]> AuthorDate: Sat, 15 Feb 2020 15:32:41 +09:00 Committer: Borislav Petkov <[email protected]> CommitterDate: Tue, 21 Apr 2020 10:17:29 +02:00
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 <[email protected]>
Signed-off-by Borislav Petkov <[email protected]>
--- arch/x86/boot/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
arch/x86/boot/Makefile +1 -2
@@ -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 # ---------------------------------------------------------------------------