1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

implement conditional dependencies for menuconfig and build deps

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12820 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd
2008-10-01 21:26:19 +00:00
parent fe71fc77ef
commit 7e8f0bc28d
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;
}