summaryrefslogtreecommitdiff
path: root/target/imagebuilder/files/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-02-22 04:03:35 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-02-22 04:03:35 +0000
commit804bfa954d66373e71b8224f4df2b5f09481f797 (patch)
treedc8059ae7a813b1ffda8f972a69a3a5de9474ca2 /target/imagebuilder/files/Makefile
parentccd12544f65912a0c2016ae4c94528e7ad84eef1 (diff)
downloadmtk-20170518-804bfa954d66373e71b8224f4df2b5f09481f797.zip
mtk-20170518-804bfa954d66373e71b8224f4df2b5f09481f797.tar.gz
mtk-20170518-804bfa954d66373e71b8224f4df2b5f09481f797.tar.bz2
ignore profiles with custom kernel configs in the image builder itself
SVN-Revision: 6342
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 b36e2f2..8b386a3 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