[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200215063852.8298-2-masahiroy@kernel.org>
Date: Sat, 15 Feb 2020 15:38:52 +0900
From: Masahiro Yamada <masahiroy@...nel.org>
To: x86@...nel.org, Ingo Molnar <mingo@...nel.org>,
Thomas Gleixner <tglx@...utronix.de>,
Borislav Petkov <bp@...en8.de>,
"H . Peter Anvin" <hpa@...or.com>
Cc: Masahiro Yamada <masahiroy@...nel.org>,
Ard Biesheuvel <ardb@...nel.org>,
Bruce Ashfield <bruce.ashfield@...il.com>,
Daniel Kiper <daniel.kiper@...cle.com>,
Ingo Molnar <mingo@...hat.com>,
Konrad Rzeszutek Wilk <konrad.wilk@...cle.com>,
Ross Burton <ross.burton@...el.com>,
Ross Philipson <ross.philipson@...cle.com>,
linux-kernel@...r.kernel.org
Subject: [PATCH 2/2] 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
you need do so in arch/x86/boot/Makefile, too.
Otherwise, if you have a file 'install' in the top directory,
'make install' does nothing.
$ touch install
$ make install
make[1]: 'install' is up to date.
Signed-off-by: Masahiro Yamada <masahiroy@...nel.org>
---
arch/x86/boot/Makefile | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/x86/boot/Makefile b/arch/x86/boot/Makefile
index 1b37746aab82..fc889bcfc2f8 100644
--- a/arch/x86/boot/Makefile
+++ b/arch/x86/boot/Makefile
@@ -127,6 +127,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)
--
2.17.1
Powered by blists - more mailing lists