diff options
author | Nicolas Thill <nico@openwrt.org> | 2006-12-20 09:53:33 +0000 |
---|---|---|
committer | Nicolas Thill <nico@openwrt.org> | 2006-12-20 09:53:33 +0000 |
commit | 246cc4f285265a38beb5f53caaa94d9a2b0b6bb2 (patch) | |
tree | 02b8dc557d7130c90a1e64a984ed712e4bda0afa | |
parent | c1953f632e1ea80de59d9a91e811bba57315734d (diff) | |
download | mtk-20170518-246cc4f285265a38beb5f53caaa94d9a2b0b6bb2.zip mtk-20170518-246cc4f285265a38beb5f53caaa94d9a2b0b6bb2.tar.gz mtk-20170518-246cc4f285265a38beb5f53caaa94d9a2b0b6bb2.tar.bz2 |
move DEFAULT_foo out of PACKAGE_foo, it was breaking package menus.
SVN-Revision: 5881
-rwxr-xr-x | scripts/gen_package_config.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/gen_package_config.pl b/scripts/gen_package_config.pl index 4ce117c..51031a8 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"; |