Skip to content

Commit 675a59b

Browse files
masahir0ysuryasaimadhu
authored andcommitted
x86/boot/build: Add phony targets in arch/x86/boot/Makefile to PHONY
These targets are correctly added to PHONY in arch/x86/Makefile, but not in arch/x86/boot/Makefile. Thus, with a file 'install' in the top directory, 'make install' does nothing: $ touch install $ make install make[1]: 'install' is up to date. Add them to the PHONY targets in the boot Makefile too. [ bp: Massage. ] Signed-off-by: Masahiro Yamada <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
1 parent 30ce434 commit 675a59b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

arch/x86/boot/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,8 @@ quiet_cmd_genimage = GENIMAGE $3
128128
cmd_genimage = sh $(srctree)/$(src)/genimage.sh $2 $3 $(obj)/bzImage \
129129
$(obj)/mtools.conf '$(image_cmdline)' $(FDINITRD)
130130

131+
PHONY += bzdisk fdimage fdimage144 fdimage288 isoimage bzlilo install
132+
131133
# This requires write access to /dev/fd0
132134
bzdisk: $(obj)/bzImage $(obj)/mtools.conf
133135
$(call cmd,genimage,bzdisk,/dev/fd0)

0 commit comments

Comments
 (0)