mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 00:39:46 +00:00
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>
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user