From 9c7a520ba8a8b22c8880d68bf4141766b0ddfb62 Mon Sep 17 00:00:00 2001
From: Felix Fietkau <nbd@openwrt.org>
Date: Mon, 11 May 2015 09:17:51 +0000
Subject: [PATCH] image: disable compile target within image builder

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45674
---
 include/image.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/image.mk b/include/image.mk
index b8be838313..921d78d10d 100644
--- a/include/image.mk
+++ b/include/image.mk
@@ -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
-- 
GitLab