From 804bfa954d66373e71b8224f4df2b5f09481f797 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 22 Feb 2007 04:03:35 +0000 Subject: ignore profiles with custom kernel configs in the image builder itself SVN-Revision: 6342 --- target/imagebuilder/files/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'target') diff --git a/target/imagebuilder/files/Makefile b/target/imagebuilder/files/Makefile index b36e2f2e31..8b386a33c6 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 -- cgit v1.2.3