projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
move zd1211 from target/linux/package/ to package/.
[openwrt.git]
/
scripts
/
gen_menuconfig.pl
diff --git
a/scripts/gen_menuconfig.pl
b/scripts/gen_menuconfig.pl
index
a7f939f
..
c40e1ca
100755
(executable)
--- a/
scripts/gen_menuconfig.pl
+++ b/
scripts/gen_menuconfig.pl
@@
-24,7
+24,9
@@
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";
$depend =~ s/^([@\+])//;
foreach my $depend (@{$pkg->{depends}}) {
my $m = "depends";
$depend =~ s/^([@\+])//;
This page took
0.027864 seconds
and
4
git commands to generate.