From: Felix Fietkau Date: Wed, 6 Jun 2012 17:24:01 +0000 (+0000) Subject: ar71xx: only build all loader images if the image builder is enabled - saves some... X-Git-Tag: reboot~13676 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=02ab0d3ef9aec76683be52f7b32bff3f6c1aeadf;p=oweals%2Fopenwrt.git ar71xx: only build all loader images if the image builder is enabled - saves some time on make target/install SVN-Revision: 32090 --- diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile index 1c0384df26..6b45b551bf 100644 --- a/target/linux/ar71xx/image/Makefile +++ b/target/linux/ar71xx/image/Makefile @@ -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