X-Git-Url: http://git.ozo.com/?p=openwrt-10.03%2F.git;a=blobdiff_plain;f=scripts%2Fgen_package_config.pl;h=51031a898a80d71c7c19b6438ab4d7723bc602c5;hp=4ce117c06f516030ddc95a2a0c3ef5307994a60f;hb=f8c85545530d5e71f0b99377d7186eff73a27b89;hpb=5be70dfb578c8793084aa8b4526fad08d68a6155 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";