diff options
-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() { | |||
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: |