Skip to content

Commit e3c7c10

Browse files
masahir0ysuryasaimadhu
authored andcommitted
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]> Link: https://lkml.kernel.org/r/[email protected]
1 parent ae83d0b commit e3c7c10

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

arch/x86/boot/Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,10 @@ $(obj)/cpu.o: $(obj)/cpustr.h
5757

5858
quiet_cmd_cpustr = CPUSTR $@
5959
cmd_cpustr = $(obj)/mkcpustr > $@
60-
targets += cpustr.h
6160
$(obj)/cpustr.h: $(obj)/mkcpustr FORCE
6261
$(call if_changed,cpustr)
6362
endif
64-
clean-files += cpustr.h
63+
targets += cpustr.h
6564

6665
# ---------------------------------------------------------------------------
6766

0 commit comments

Comments
 (0)