From 0bb4b7d7617a160db16ed16a54efbeef1599198e Mon Sep 17 00:00:00 2001 From: Nicolas Thill Date: Fri, 22 Aug 2008 04:18:35 +0000 Subject: [PATCH] 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 d920f59fcaf..ce809249783 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