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:
1 parent
fe71fc77ef
commit
7e8f0bc28d
3 files changed
+26
-4
No files matched your search
@@ -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