From 76b52ee4a204a1896754795433f25063cb703855 Mon Sep 17 00:00:00 2001 From: nico Date: Wed, 20 Dec 2006 09:53:33 +0000 Subject: 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 --- scripts/gen_package_config.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts') diff --git a/scripts/gen_package_config.pl b/scripts/gen_package_config.pl index 4ce117c06..51031a898 100755 --- a/scripts/gen_package_config.pl +++ b/scripts/gen_package_config.pl @@ -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"; -- cgit v1.2.3