summaryrefslogtreecommitdiffstats
path: root/meta
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-30 00:02:52 +0100
commit20a58438372ce73aa3bee694731debeb571959c1 (patch)
tree0eee59fa2df7843c69ceff651ea8748b9bb9b390 /meta
parentf55516fef59df009b0aa190906fbb7d1d39829a8 (diff)
downloadpoky-20a58438372ce73aa3bee694731debeb571959c1.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) (From OE-Core rev: a46011097e76813a440a5497d97e56b83541bcb5) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-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: