summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2018-07-03 12:06:37 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-07-04 00:02:17 +0100
commitf755066a0001a2d7428c24c67c523b16588dccad (patch)
tree48a3b06aad0078abcbcab638fb4a8ba46bea88c9 /meta/classes
parente9f8826681b02f3fe1417e15f554ba1fa62a2d12 (diff)
downloadpoky-f755066a0001a2d7428c24c67c523b16588dccad.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) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/staging.bbclass3
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() {
474 # We need a consistent WORKDIR for the image 474 # We need a consistent WORKDIR for the image
475 d2.setVar("WORKDIR", d.getVar("WORKDIR")) 475 d2.setVar("WORKDIR", d.getVar("WORKDIR"))
476 destsysroot = d2.getVar("RECIPE_SYSROOT") 476 destsysroot = d2.getVar("RECIPE_SYSROOT")
477 # We put allarch recipes into the default sysroot
478 if manifest and "allarch" in manifest:
479 destsysroot = d.getVar("RECIPE_SYSROOT")
477 480
478 native = False 481 native = False
479 if c.endswith("-native") or "-cross-" in c or "-crosssdk" in c: 482 if c.endswith("-native") or "-cross-" in c or "-crosssdk" in c: