1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-27 16:43:09 +02:00

move DEFAULT_foo out of PACKAGE_foo, it was breaking package menus.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5881 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nico 2006-12-20 09:53:33 +00:00
parent dd7d76d230
commit 76b52ee4a2

View File

@ -66,6 +66,8 @@ sub print_category($) {
}
$menus{$menu} or $menus{$menu} = [];
push @{$menus{$menu}}, $pkg;
print "\tconfig DEFAULT_".$pkg->{name}."\n";
print "\t\tbool\n\n";
}
}
my @menus = sort {
@ -89,8 +91,6 @@ 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";