ar71xx: only build all loader images if the image builder is enabled - saves some...
authorFelix Fietkau <nbd@openwrt.org>
Wed, 6 Jun 2012 17:24:01 +0000 (17:24 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 6 Jun 2012 17:24:01 +0000 (17:24 +0000)
SVN-Revision: 32090

target/linux/ar71xx/image/Makefile

index 1c0384df2696387d05193ba018e8ccf7b05b1c4b..6b45b551bf77e473ae1f0ba08a329f696ed816de 100644 (file)
@@ -1146,7 +1146,7 @@ endef
 define Image/Prepare
        gzip -9 -c $(KDIR)/vmlinux > $(KDIR)/vmlinux.bin.gz
        $(call CompressLzma,$(KDIR)/vmlinux,$(KDIR)/vmlinux.bin.lzma)
-       $(call Image/Build/Profile/Default,loader)
+       $(if $(CONFIG_IB),$(call Image/Build/Profile/Default,loader))
 endef
 
 define Image/Build