x86/boot/build: Add phony targets in arch/x86/boot/Makefile to PHONY
authorMasahiro Yamada <masahiroy@kernel.org>
Sat, 15 Feb 2020 06:38:52 +0000 (15:38 +0900)
committerBorislav Petkov <bp@suse.de>
Tue, 21 Apr 2020 16:30:58 +0000 (18:30 +0200)
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 <masahiroy@kernel.org>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20200215063852.8298-2-masahiroy@kernel.org
arch/x86/boot/Makefile

index f1bf4a7e040b5a054c5e3b2c07edf1f945086b80..4c53556843212fdf02d8fb9ab5bd8ff4b53c5251 100644 (file)
@@ -128,6 +128,8 @@ quiet_cmd_genimage = GENIMAGE $3
 cmd_genimage = sh $(srctree)/$(src)/genimage.sh $2 $3 $(obj)/bzImage \
                        $(obj)/mtools.conf '$(image_cmdline)' $(FDINITRD)
 
+PHONY += bzdisk fdimage fdimage144 fdimage288 isoimage bzlilo install
+
 # This requires write access to /dev/fd0
 bzdisk: $(obj)/bzImage $(obj)/mtools.conf
        $(call cmd,genimage,bzdisk,/dev/fd0)