ARC: [build] Allow uncompressed uImage
[firefly-linux-kernel-4.4.55.git] / arch / arc / Makefile
index ac14601577a65086790586e7d95e1e282649a9d1..f30e0a168343eaacf6b7d9c0fc8580e980cbb844 100644 (file)
@@ -102,10 +102,11 @@ boot              := arch/arc/boot
 KBUILD_IMAGE   := bootpImage
 
 all:   $(KBUILD_IMAGE)
-
 bootpImage: vmlinux
 
-uImage: vmlinux
+boot_targets += uImage uImage.bin uImage.gz
+
+$(boot_targets): vmlinux
        $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@
 
 %.dtb %.dtb.S %.dtb.o: scripts