forked from Ivasoft/openwrt
implement conditional dependencies for menuconfig and build deps
SVN-Revision: 12820
This commit is contained in:
@@ -290,6 +290,7 @@ sub install_package {
|
||||
foreach my $vpkg (@{$srcpackage{$src}}, $pkg) {
|
||||
foreach my $dep (@{$vpkg->{depends}}, @{$vpkg->{builddepends}}) {
|
||||
next if $dep =~ /@/;
|
||||
next if $dep =~ /:/;
|
||||
$dep =~ s/^\+//;
|
||||
install_package($feed, $dep) == 0 or $ret = 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user