From: Chen Qi Date: Tue, 29 Aug 2023 07:33:30 +0000 (+0800) Subject: uninative.bbclass: sync to use UNINATIVE_STAGING_DIR X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a51fbe7975b15b1cb250974ced711cbd863dd88d;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git uninative.bbclass: sync to use UNINATIVE_STAGING_DIR All other places in this bbclass are using ${UNINATIVE_STAGING_DIR}-uninative, we should sync to use that too, although UNINATIVE_STAGING_DIR's default value is STAGING_DIR. Signed-off-by: Chen Qi Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- diff --git a/meta/classes-global/uninative.bbclass b/meta/classes-global/uninative.bbclass index 366f7ac7935..9630726f330 100644 --- a/meta/classes-global/uninative.bbclass +++ b/meta/classes-global/uninative.bbclass @@ -146,7 +146,7 @@ def enable_uninative(d): d.appendVar("BUILD_LDFLAGS", " -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=${UNINATIVE_LOADER}") d.appendVarFlag("BUILD_LDFLAGS", "vardepvalueexclude", "| -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=${UNINATIVE_LOADER}") d.appendVarFlag("BUILD_LDFLAGS", "vardepsexclude", "UNINATIVE_LOADER") - d.prependVar("PATH", "${STAGING_DIR}-uninative/${BUILD_ARCH}-linux${bindir_native}:") + d.prependVar("PATH", "${UNINATIVE_STAGING_DIR}-uninative/${BUILD_ARCH}-linux${bindir_native}:") python uninative_changeinterp () { import subprocess