summaryrefslogtreecommitdiff
path: root/arch/microblaze
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2018-12-07 14:33:55 +0300
committerMichal Simek <michal.simek@xilinx.com>2018-12-14 10:09:20 +0300
commit3dda563b8349ccc27547883e6cf2be4391d19cb1 (patch)
treeecdad5b6841a2b7aacdb4fb0e6895f54e58e63e8 /arch/microblaze
parent4722a3e6b716d9d4594c3cf3856b03bbd24a59a8 (diff)
downloadlinux-3dda563b8349ccc27547883e6cf2be4391d19cb1.tar.xz
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 <yamada.masahiro@socionext.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch/microblaze')
-rw-r--r--arch/microblaze/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/microblaze/Makefile b/arch/microblaze/Makefile
index ff5abbd23060..180dffaf73ac 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`')'