summaryrefslogtreecommitdiffstats
path: root/target/imagebuilder/files/Makefile
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-02-22 04:03:35 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-02-22 04:03:35 +0000
commita91b3a746d48069d4db5b94d1d59eaa2759b5f28 (patch)
tree0fa77c919e9532a5d33b937a826c3f447660587c /target/imagebuilder/files/Makefile
parent3b03b65e9943df105d6e7d7e0524687c59868f80 (diff)
ignore profiles with custom kernel configs in the image builder itself
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6342 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/imagebuilder/files/Makefile')
-rw-r--r--target/imagebuilder/files/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/target/imagebuilder/files/Makefile b/target/imagebuilder/files/Makefile
index b36e2f2e3..8b386a33c 100644
--- a/target/imagebuilder/files/Makefile
+++ b/target/imagebuilder/files/Makefile
@@ -34,6 +34,7 @@ IPKG:= \
define Profile/Default
ID:=
NAME:=
+ KCONFIG:=
PACKAGES:=
endef
@@ -46,8 +47,10 @@ define AddProfile
endif
$(ID)_NAME:=$(NAME)
$(ID)_PACKAGES:=$(PACKAGES)
- PROFILE_LIST += \
+ ifneq ($(KCONFIG),)
+ PROFILE_LIST += \
echo '$(ID):'; [ -z '$(NAME)' ] || echo ' $(NAME)'; echo ' Packages: $(PACKAGES)';
+ endif
endif
endef