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 | 0bb4b7d7617a160db16ed16a54efbeef1599198e (patch) | |
tree | d0ed938e21aa1ea58ce42773063ff8fb9128d028 /scripts | |
parent | 42cf7602f43d1a65ab2a9931550eb587d6045fa2 (diff) | |
download | mtk-20170518-0bb4b7d7617a160db16ed16a54efbeef1599198e.zip mtk-20170518-0bb4b7d7617a160db16ed16a54efbeef1599198e.tar.gz mtk-20170518-0bb4b7d7617a160db16ed16a54efbeef1599198e.tar.bz2 |
don't display the "Image configuration" menu entry when there's nothing to pre-configure (when using the SDK for example)
SVN-Revision: 12366
Diffstat (limited to 'scripts')
-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 d920f59..ce80924 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}; |