2
0
forked from Ivasoft/openwrt

implement conditional dependencies for menuconfig and build deps

SVN-Revision: 12820
This commit is contained in:
Felix Fietkau
2008-10-01 21:26:19 +00:00
parent fe1570e63b
commit b0e7c7ba79
3 changed files with 26 additions and 4 deletions

View File

@@ -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;
}