diff options
author | Felix Fietkau <nbd@openwrt.org> | 2006-11-12 05:06:56 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2006-11-12 05:06:56 +0000 |
commit | 768b48f380f60031f632cd7d1bc6be05e03a72a8 (patch) | |
tree | df67c1174d33863318f90dbce91f22c7b204038c /scripts/gen_package_config.pl | |
parent | 87f59ecd7c9bddefaf9710b21f61b1d5a310ebfc (diff) | |
download | upstream-768b48f380f60031f632cd7d1bc6be05e03a72a8.tar.gz upstream-768b48f380f60031f632cd7d1bc6be05e03a72a8.tar.bz2 upstream-768b48f380f60031f632cd7d1bc6be05e03a72a8.zip |
implement target profiles in menuconfig
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5512 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'scripts/gen_package_config.pl')
-rwxr-xr-x | scripts/gen_package_config.pl | 3 |
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"; } |