summaryrefslogtreecommitdiffstats
path: root/scripts/gen_menuconfig.pl
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/gen_menuconfig.pl')
-rwxr-xr-xscripts/gen_menuconfig.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/gen_menuconfig.pl b/scripts/gen_menuconfig.pl
index c40e1caed..eff78dcd9 100755
--- a/scripts/gen_menuconfig.pl
+++ b/scripts/gen_menuconfig.pl
@@ -29,7 +29,7 @@ sub print_category($) {
}
foreach my $depend (@{$pkg->{depends}}) {
my $m = "depends";
- $depend =~ s/^([@\+])//;
+ $depend =~ s/^([@\+]+)//;
my $flags = $1;
$flags =~ /@/ or $depend = "PACKAGE_$depend";
$flags =~ /\+/ and $m = "select";