summaryrefslogtreecommitdiff
path: root/meta/classes/image.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2017-01-12 13:30:02 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-01-19 22:45:54 +0000
commit9a799f70574ee8e0b1267497edfb4ac63166ef8f (patch)
tree9efcc12e6d894671c4d49d80d4d56d7bd07d3941 /meta/classes/image.bbclass
parent941ec7c50c30052e346e72fef2920135dba89a21 (diff)
downloadopenembedded-core-9a799f70574ee8e0b1267497edfb4ac63166ef8f.tar.gz
openembedded-core-9a799f70574ee8e0b1267497edfb4ac63166ef8f.tar.bz2
openembedded-core-9a799f70574ee8e0b1267497edfb4ac63166ef8f.zip
staging: Add dependency on virtual/binutils for strip binary
The staging code strips binaries and we need virtual/binutils for that. Add a specific dependency since the one from do_configure and others may not be enough to ensure the binaries are in our own sysroot. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/image.bbclass')
-rw-r--r--meta/classes/image.bbclass4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index 04fd5f9961..6b0864913b 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -96,6 +96,10 @@ LDCONFIGDEPEND_libc-musl = ""
# don't want this dependency, which is causing dependency loop
KERNELDEPMODDEPEND ?= "virtual/kernel:do_packagedata"
+# POPULATESYSROOTDEPS fails to expand correctly with multilibs since overrides aren't set for image.bbclass
+# we don't need these depends so just clear them
+do_populate_sysroot[depends] = ""
+
do_rootfs[depends] += " \
makedevs-native:do_populate_sysroot virtual/fakeroot-native:do_populate_sysroot ${LDCONFIGDEPEND} \
virtual/update-alternatives-native:do_populate_sysroot update-rc.d-native:do_populate_sysroot \