From e83c4ff72150271fc703f362b0b6acee11d51d8c Mon Sep 17 00:00:00 2001 From: nbd Date: Tue, 17 Mar 2009 02:20:34 +0000 Subject: move host build in packages into a separate namespace: package//host/ this allows dependencies between host and target packages, and saves unnecessary host builds for packages that contain both variants git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14905 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- scripts/feeds | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scripts/feeds') diff --git a/scripts/feeds b/scripts/feeds index deafaca12..e51b17c37 100755 --- a/scripts/feeds +++ b/scripts/feeds @@ -327,10 +327,11 @@ sub install_package { # install all dependencies foreach my $vpkg (@{$srcpackage{$src}}, $pkg) { - foreach my $dep (@{$vpkg->{depends}}, @{$vpkg->{builddepends}}) { + foreach my $dep (@{$vpkg->{depends}}, @{$vpkg->{builddepends}}, @{$vpkg->{"builddepends/host"}}) { next if $dep =~ /@/; $dep =~ s/^\+//; $dep =~ s/^.+://; + $dep =~ s/\/.+$//; next unless $dep; install_package($feed, $dep) == 0 or $ret = 1; } -- cgit v1.2.3