projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
annoying initrd bug introduced by 2.6.17
[openwrt.git]
/
scripts
/
gen_menuconfig.pl
diff --git
a/scripts/gen_menuconfig.pl
b/scripts/gen_menuconfig.pl
index
a7f939f
..
eff78dc
100755
(executable)
--- a/
scripts/gen_menuconfig.pl
+++ b/
scripts/gen_menuconfig.pl
@@
-24,10
+24,12
@@
sub print_category($) {
$pkg->{menu} and print "menu";
print "config PACKAGE_".$pkg->{name}."\n";
print "\t\ttristate \"$title\"\n";
$pkg->{menu} and print "menu";
print "config PACKAGE_".$pkg->{name}."\n";
print "\t\ttristate \"$title\"\n";
- print "\t\tdefault ".$pkg->{default}."\n";
+ foreach my $default (split /\s*,\s*/, $pkg->{default}) {
+ print "\t\tdefault $default\n";
+ }
foreach my $depend (@{$pkg->{depends}}) {
my $m = "depends";
foreach my $depend (@{$pkg->{depends}}) {
my $m = "depends";
- $depend =~ s/^([@\+])//;
+ $depend =~ s/^([@\+]
+
)//;
my $flags = $1;
$flags =~ /@/ or $depend = "PACKAGE_$depend";
$flags =~ /\+/ and $m = "select";
my $flags = $1;
$flags =~ /@/ or $depend = "PACKAGE_$depend";
$flags =~ /\+/ and $m = "select";
This page took
0.020211 seconds
and
4
git commands to generate.