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-04 00:01:37 +0100 |
commit | 8ae70703f68853a8714a4fb8fa5d959b5e21a02d (patch) | |
tree | 9a1e143ef1b1e8bc9be8bc6e57458a6fd7437259 | |
parent | c37207d0aca5ad1ec2b45813274931be458ee7ed (diff) | |
download | openembedded-core-8ae70703f68853a8714a4fb8fa5d959b5e21a02d.tar.gz openembedded-core-8ae70703f68853a8714a4fb8fa5d959b5e21a02d.tar.bz2 openembedded-core-8ae70703f68853a8714a4fb8fa5d959b5e21a02d.zip |
staging: Always use the default sysroot for allarch recipes
Without this, recipes can't find allarch data files like autoconf-archive.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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: |