From: Masahiro Yamada Date: Fri, 7 Dec 2018 11:33:55 +0000 (+0900) Subject: microblaze: add linux.bin* and simpleImage.* to PHONY X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=3dda563b8349ccc27547883e6cf2be4391d19cb1;p=linux.git microblaze: add linux.bin* and simpleImage.* to PHONY linux.bin, linux.bin.gz, and linux.bin.ub are phony targets to generate a corresponding image under arch/microblaze/boot/. simpleImage.% also works like a phony target, but a pattern that contains '%' cannot be a phony target. I replaced it with equivalent simpleImage.$(DTB). Signed-off-by: Masahiro Yamada Signed-off-by: Michal Simek --- diff --git a/arch/microblaze/Makefile b/arch/microblaze/Makefile index ff5abbd230609..180dffaf73ac0 100644 --- a/arch/microblaze/Makefile +++ b/arch/microblaze/Makefile @@ -82,11 +82,13 @@ archclean: archheaders: $(Q)$(MAKE) $(build)=arch/microblaze/kernel/syscalls all +PHONY += linux.bin linux.bin.gz linux.bin.ub linux.bin linux.bin.gz linux.bin.ub: vmlinux $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@ @echo 'Kernel: $(boot)/$@ is ready' ' (#'`cat .version`')' -simpleImage.%: vmlinux +PHONY += simpleImage.$(DTB) +simpleImage.$(DTB): vmlinux $(Q)$(MAKE) $(build)=$(boot) $(addprefix $(boot)/$@., ub unstrip strip) @echo 'Kernel: $(boot)/$@ is ready' ' (#'`cat .version`')'