[oe-commits] [openembedded-core] 02/02: staging: Always use the default sysroot for allarch recipes
git at git.openembedded.org
git at git.openembedded.org
Tue Jul 3 11:07:45 UTC 2018
This is an automated email from the git hooks/post-receive script.
rpurdie pushed a commit to branch master-next
in repository openembedded-core.
commit 985969269bec7aff0ee9c124e9fad7bc98e27ac3
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Tue Jul 3 12:06:37 2018 +0100
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 at linuxfoundation.org>
---
meta/classes/staging.bbclass | 3 +++
1 file changed, 3 insertions(+)
diff --git a/meta/classes/staging.bbclass b/meta/classes/staging.bbclass
index 91cbc20..0411c88 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 "allarch" in manifest:
+ destsysroot = d.getVar("RECIPE_SYSROOT")
native = False
if c.endswith("-native") or "-cross-" in c or "-crosssdk" in c:
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list