diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-07-03 12:06:37 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-07-30 00:01:01 +0100 |
commit | a46011097e76813a440a5497d97e56b83541bcb5 (patch) | |
tree | 76ac5ee93ec1bf4a401399a9edc88c41927b1651 /meta/classes | |
parent | c1455f3b052fc589fad628e97e35bcc9296726e1 (diff) | |
download | openembedded-core-contrib-a46011097e76813a440a5497d97e56b83541bcb5.tar.gz |
staging: Always use the default sysroot for allarch recipes
Without this, recipes can't find allarch data files like autoconf-archive.
(From OE-Core rev: 8ae70703f68853a8714a4fb8fa5d959b5e21a02d)
(From OE-Core rev: 9e7aaabc456e186274912edcf6b7f5bb2be1333d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/staging.bbclass | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/staging.bbclass b/meta/classes/staging.bbclass index 91cbc2083d..939042eb44 100644 --- a/meta/classes/staging.bbclass +++ b/meta/classes/staging.bbclass @@ -474,6 +474,9 @@ python extend_recipe_sysroot() { # We need a consistent WORKDIR for the image d2.setVar("WORKDIR", d.getVar("WORKDIR")) destsysroot = d2.getVar("RECIPE_SYSROOT") + # We put allarch recipes into the default sysroot + if manifest and "allarch" in manifest: + destsysroot = d.getVar("RECIPE_SYSROOT") native = False if c.endswith("-native") or "-cross-" in c or "-crosssdk" in c: |