Skip to contentSkip to conversation

uninative.bbclass: sync to use UNINATIVE_STAGING_DIR

PATCH New [email protected] 1 participant 1 message Aug 29, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 uninative.bbclass: sync to use UNINATIVE_STAGING_DIR

From: Chen Qi <[email protected]>

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.

---
 meta/classes-global/uninative.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/classes-global/uninative.bbclass +1 -1
index 366f7ac793..9630726f33 100644
@@ -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
Signature · 1 line
2.34.1