]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - arch/arm/Makefile
Merge branch 'next/dt' into for-next
[karo-tx-linux.git] / arch / arm / Makefile
index 92a90fefddec669e9ce677114477910eb4dd5314..8b667132d7b419bb572549d3f5149c7f9e503860 100644 (file)
@@ -295,10 +295,15 @@ archprepare:
 # Convert bzImage to zImage
 bzImage: zImage
 
-zImage Image xipImage bootpImage uImage: vmlinux
+BOOT_TARGETS   = zImage Image xipImage bootpImage uImage
+INSTALL_TARGETS        = zinstall uinstall install
+
+PHONY += bzImage $(BOOT_TARGETS) $(INSTALL_TARGETS)
+
+$(BOOT_TARGETS): vmlinux
        $(Q)$(MAKE) $(build)=$(boot) MACHINE=$(MACHINE) $(boot)/$@
 
-zinstall uinstall install: vmlinux
+$(INSTALL_TARGETS):
        $(Q)$(MAKE) $(build)=$(boot) MACHINE=$(MACHINE) $@
 
 %.dtb: | scripts