mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 01:43:08 +02:00
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
This commit is contained in:
parent
06d70073dd
commit
72a7d4c4dd
@ -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};
|
||||
|
Loading…
Reference in New Issue
Block a user