image: disable compile target within image builder
authorFelix Fietkau <nbd@openwrt.org>
Mon, 11 May 2015 09:17:51 +0000 (09:17 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 11 May 2015 09:17:51 +0000 (09:17 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45674

include/image.mk

index b8be838313c9f0a09430c3fcf739f25b5118def3..921d78d10d7b52e578b253c13f829ee48c2055dd 100644 (file)
@@ -359,7 +359,7 @@ endef
 
 define Device/Check
   _TARGET = $$(if $$(filter $(PROFILE),$$(PROFILES)),install,install-disabled)
-  _COMPILE_TARGET = $$(if $(CONFIG_IB)$$(filter $(PROFILE),$$(PROFILES)),compile,compile-disabled)
+  _COMPILE_TARGET = $$(if $(if $(IB),,$(CONFIG_IB)$$(filter $(PROFILE),$$(PROFILES))),compile,compile-disabled)
 endef
 
 ifndef IB