diff options
author | Nicolas Thill <nico@openwrt.org> | 2008-08-22 04:18:35 +0000 |
---|---|---|
committer | Nicolas Thill <nico@openwrt.org> | 2008-08-22 04:18:35 +0000 |
commit | 25539fe08768712e47097d4aea0e7ced2e9563f0 (patch) | |
tree | 65680d90e4aa43c2c6def47aec45d16b35fbeee0 | |
parent | 088779813dd731fafb11858bc2330c47a22829b1 (diff) | |
download | upstream-25539fe08768712e47097d4aea0e7ced2e9563f0.tar.gz upstream-25539fe08768712e47097d4aea0e7ced2e9563f0.tar.bz2 upstream-25539fe08768712e47097d4aea0e7ced2e9563f0.zip |
don't display the "Image configuration" menu entry when there's nothing to pre-configure (when using the SDK for example)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12366 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rwxr-xr-x | scripts/metadata.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/metadata.pl b/scripts/metadata.pl index d920f59fca..ce80924978 100755 --- a/scripts/metadata.pl +++ b/scripts/metadata.pl @@ -472,7 +472,7 @@ sub print_package_config_category($) { sub gen_package_config() { parse_package_metadata($ARGV[0]) or exit 1; - print "menuconfig UCI_PRECONFIG\n\tbool \"Image configuration\"\n"; + print "menuconfig UCI_PRECONFIG\n\tbool \"Image configuration\"\n" if %preconfig; foreach my $preconfig (keys %preconfig) { foreach my $cfg (keys %{$preconfig{$preconfig}}) { my $conf = $preconfig{$preconfig}->{$cfg}->{id}; |