aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gen_package_config.pl
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-11-12 05:06:56 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-11-12 05:06:56 +0000
commit105a602ecf14e4afe29f88e062496135bce41dc7 (patch)
tree486a3c1c55fa9733f87903e0adb73bd931a238b7 /scripts/gen_package_config.pl
parent646342f30f409ac8030b634f2715ab9acac07858 (diff)
downloadupstream-105a602ecf14e4afe29f88e062496135bce41dc7.tar.gz
upstream-105a602ecf14e4afe29f88e062496135bce41dc7.tar.bz2
upstream-105a602ecf14e4afe29f88e062496135bce41dc7.zip
implement target profiles in menuconfig
SVN-Revision: 5512
Diffstat (limited to 'scripts/gen_package_config.pl')
-rwxr-xr-xscripts/gen_package_config.pl3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/gen_package_config.pl b/scripts/gen_package_config.pl
index 9c705af563..4ce117c06f 100755
--- a/scripts/gen_package_config.pl
+++ b/scripts/gen_package_config.pl
@@ -89,10 +89,13 @@ sub print_category($) {
if ($c > 0) {
$title .= ("." x $c). " ". $pkg->{title};
}
+ print "\tconfig DEFAULT_".$pkg->{name}."\n";
+ print "\t\tbool\n\n";
print "\t";
$pkg->{menu} and print "menu";
print "config PACKAGE_".$pkg->{name}."\n";
print "\t\ttristate \"$title\"\n";
+ print "\t\tdefault y if DEFAULT_".$pkg->{name}."\n";
foreach my $default (split /\s*,\s*/, $pkg->{default}) {
print "\t\tdefault $default\n";
}