diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-12 13:30:02 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-19 22:45:54 +0000 |
commit | 9a799f70574ee8e0b1267497edfb4ac63166ef8f (patch) | |
tree | 9efcc12e6d894671c4d49d80d4d56d7bd07d3941 /meta/classes/staging.bbclass | |
parent | 941ec7c50c30052e346e72fef2920135dba89a21 (diff) | |
download | openembedded-core-contrib-9a799f70574ee8e0b1267497edfb4ac63166ef8f.tar.gz |
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/staging.bbclass')
-rw-r--r-- | meta/classes/staging.bbclass | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/staging.bbclass b/meta/classes/staging.bbclass index 72a7421ba6..2512ae6f5d 100644 --- a/meta/classes/staging.bbclass +++ b/meta/classes/staging.bbclass @@ -228,6 +228,10 @@ python do_populate_sysroot () { do_populate_sysroot[vardeps] += "${SYSROOT_PREPROCESS_FUNCS}" do_populate_sysroot[vardepsexclude] += "MULTI_PROVIDER_WHITELIST" +POPULATESYSROOTDEPS = "" +POPULATESYSROOTDEPS_class-target = "virtual/${MLPREFIX}${TARGET_PREFIX}binutils:do_populate_sysroot" +do_populate_sysroot[depends] += "${POPULATESYSROOTDEPS}" + SSTATETASKS += "do_populate_sysroot" do_populate_sysroot[cleandirs] = "${SYSROOT_DESTDIR}" do_populate_sysroot[sstate-inputdirs] = "${SYSROOT_DESTDIR}" |