fix for multiple dependency flags
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4023 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
c5fd401083
commit
6914e025fa
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue