remove madwifi-old
[openwrt.git] / scripts / gen_menuconfig.pl
index a7f939f..c40e1ca 100755 (executable)
@@ -24,7 +24,9 @@ sub print_category($) {
                        $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/^([@\+])//;
This page took 0.021046 seconds and 4 git commands to generate.