aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/metadata.pl
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-02-22 03:56:54 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-02-22 03:56:54 +0000
commit76ba15fe00dba92f5e415d47c481d28ba7e5e206 (patch)
tree4a23ed0d5c6a871167ffbc79366f379039c4e11a /scripts/metadata.pl
parentc5367e59acfe57e8f366f87d537871477855c661 (diff)
downloadupstream-76ba15fe00dba92f5e415d47c481d28ba7e5e206.tar.gz
upstream-76ba15fe00dba92f5e415d47c481d28ba7e5e206.tar.bz2
upstream-76ba15fe00dba92f5e415d47c481d28ba7e5e206.zip
disable the image builder in menuconfig for profiles with custom kernel configs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6341 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'scripts/metadata.pl')
-rwxr-xr-xscripts/metadata.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/metadata.pl b/scripts/metadata.pl
index d27cd8e59d..4a05628a54 100755
--- a/scripts/metadata.pl
+++ b/scripts/metadata.pl
@@ -53,6 +53,7 @@ sub parse_target_metadata() {
}
$profile->{desc} = $desc;
};
+ /^Target-Profile-Kconfig:/ and $profile->{kconfig} = 1;
}
foreach my $target (@target) {
@{$target->{profiles}} > 0 or $target->{profiles} = [
@@ -298,6 +299,7 @@ config LINUX_$target->{conf}_$profile->{id}
bool "$profile->{name}"
depends LINUX_$target->{conf}
EOF
+ $profile->{kconfig} and print "\tselect PROFILE_KCONFIG\n";
my %pkgs;
foreach my $pkg (@{$target->{packages}}, @{$profile->{packages}}) {
$pkgs{$pkg} = 1;