From 5be70dfb578c8793084aa8b4526fad08d68a6155 Mon Sep 17 00:00:00 2001 From: nbd Date: Sun, 12 Nov 2006 05:06:56 +0000 Subject: implement target profiles in menuconfig git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5512 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- scripts/gen_package_config.pl | 3 +++ 1 file changed, 3 insertions(+) (limited to 'scripts/gen_package_config.pl') diff --git a/scripts/gen_package_config.pl b/scripts/gen_package_config.pl index 9c705af56..4ce117c06 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"; } -- cgit v1.2.3