From a91b3a746d48069d4db5b94d1d59eaa2759b5f28 Mon Sep 17 00:00:00 2001 From: nbd Date: Thu, 22 Feb 2007 04:03:35 +0000 Subject: 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 --- scripts/metadata.pl | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'scripts/metadata.pl') diff --git a/scripts/metadata.pl b/scripts/metadata.pl index 4a05628a5..063524a67 100755 --- a/scripts/metadata.pl +++ b/scripts/metadata.pl @@ -149,9 +149,10 @@ sub gen_target_mk() { define Profile/$conf\_$profile->{id} ID:=$profile->{id} NAME:=$profile->{name} - PACKAGES:=".join(" ", @{$profile->{packages}})." - endef"; - $profiles_eval .= " + PACKAGES:=".join(" ", @{$profile->{packages}})."\n"; + $profile->{kconfig} and $profiles_def .= " KCONFIG:=1\n"; + $profiles_def .= " endef"; + $profiles_eval .= " \$(eval \$(call AddProfile,$conf\_$profile->{id}))" } print " -- cgit v1.2.3