From a509f66da37dd1952db27de7c19e943e1b40448c Mon Sep 17 00:00:00 2001 From: Nicolas Thill Date: Fri, 22 Aug 2008 04:18:35 +0000 Subject: [PATCH 1/1] don't display the "Image configuration" menu entry when there's nothing to pre-configure (when using the SDK for example) SVN-Revision: 12366 --- scripts/metadata.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}; -- 2.30.2