microblaze: add linux.bin* and simpleImage.* to PHONY
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 7 Dec 2018 11:33:55 +0000 (20:33 +0900)
committerMichal Simek <michal.simek@xilinx.com>
Fri, 14 Dec 2018 07:09:20 +0000 (08:09 +0100)
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 <yamada.masahiro@socionext.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/microblaze/Makefile

index ff5abbd2306091d3e8a84694ce8406694f80ad56..180dffaf73ac0c9a2bb37bcd3a91009ae8cb0f84 100644 (file)
@@ -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`')'