summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsk7.park <sk7.park@samsung.com>2023-04-11 13:07:06 +0900
committersk7.park <sk7.park@samsung.com>2023-04-11 13:07:06 +0900
commit47053f9ad1f51d9858eb95e5d8255c2888b92de8 (patch)
treedd8adde410edaf6eeb648a331b5995bd0ab687c9
parent100673766fb9239cbcbf580c4eb1bd1fd879ba68 (diff)
downloadbuild-47053f9ad1f51d9858eb95e5d8255c2888b92de8.tar.gz
build-47053f9ad1f51d9858eb95e5d8255c2888b92de8.tar.bz2
build-47053f9ad1f51d9858eb95e5d8255c2888b92de8.zip
Revert 'fix build dependency parse when Require(post)'
Change-Id: I7ddc5d539f458089152ddbe69c7b46fb5259c657
-rwxr-xr-xexpanddeps4
1 files changed, 2 insertions, 2 deletions
diff --git a/expanddeps b/expanddeps
index 511a3c5..c9466bf 100755
--- a/expanddeps
+++ b/expanddeps
@@ -461,7 +461,7 @@ if ($recipe) {
unshift @extradeps, @{$d->{'deps'} || []};
if ($d->{'prereqs'}) {
my %deps = map {$_ => 1} (@extradeps, @{$d->{'subpacks'} || []});
- push @extradeps, '--directdepsend--', grep {!$deps{$_} && !/^%/} @{$d->{'prereqs'}};
+ push @packdeps, grep {!$deps{$_} && !/^%/} @{$d->{'prereqs'}};
}
}
@@ -481,7 +481,7 @@ push @extradeps, '--ignoreignore--' if @sysdeps;
if ($isvm) {
push @packdeps, @{$cf->{'vminstall'}};
}
-my @bdeps = Build::get_build($cf, $subpacks, @extradeps);
+my @bdeps = Build::get_build($cf, $subpacks, @packdeps, @extradeps);
if (!shift @bdeps) {
print STDERR "expansion error\n";