Ignore:
Timestamp:
2011-07-02T08:49:09+02:00 (5 years ago)
Author:
nbd
Message:

add support for hidden packages that get selected/built but do not show up in menuconfig

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/scripts/metadata.pl

    r27267 r27344  
    526526                                $title .= ("." x $c). " ". $pkg->{title}; 
    527527                        } 
     528                        $title = "\"$title\""; 
    528529                        print "\t"; 
    529530                        $pkg->{menu} and print "menu"; 
    530531                        print "config PACKAGE_".$pkg->{name}."\n"; 
    531                         print "\t\t".($pkg->{tristate} ? 'tristate' : 'bool')." \"$title\"\n"; 
     532                        $pkg->{hidden} and $title = ""; 
     533                        print "\t\t".($pkg->{tristate} ? 'tristate' : 'bool')." $title\n"; 
    532534                        print "\t\tdefault y if DEFAULT_".$pkg->{name}."\n"; 
    533535                        foreach my $default (split /\s*,\s*/, $pkg->{default}) { 
Note: See TracChangeset for help on using the changeset viewer.