summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/uninative.bbclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/classes/uninative.bbclass b/meta/classes/uninative.bbclass
index 0501ddec40..23c5314818 100644
--- a/meta/classes/uninative.bbclass
+++ b/meta/classes/uninative.bbclass
@@ -9,7 +9,7 @@ UNINATIVE_TARBALL ?= "${BUILD_ARCH}-nativesdk-libc.tar.bz2"
9UNINATIVE_DLDIR ?= "${DL_DIR}/uninative/" 9UNINATIVE_DLDIR ?= "${DL_DIR}/uninative/"
10 10
11# Enabling uninative will change the following variables so they need to go the parsing white list to prevent multiple recipe parsing 11# Enabling uninative will change the following variables so they need to go the parsing white list to prevent multiple recipe parsing
12BB_HASHCONFIG_WHITELIST += "NATIVELSBSTRING SSTATEPOSTUNPACKFUNCS" 12BB_HASHCONFIG_WHITELIST += "NATIVELSBSTRING SSTATEPOSTUNPACKFUNCS BUILD_LDFLAGS"
13 13
14addhandler uninative_event_fetchloader 14addhandler uninative_event_fetchloader
15uninative_event_fetchloader[eventmask] = "bb.event.BuildStarted" 15uninative_event_fetchloader[eventmask] = "bb.event.BuildStarted"
@@ -129,6 +129,8 @@ def enable_uninative(d):
129 d.setVar("NATIVELSBSTRING", "universal%s" % oe.utils.host_gcc_version(d)) 129 d.setVar("NATIVELSBSTRING", "universal%s" % oe.utils.host_gcc_version(d))
130 d.appendVar("SSTATEPOSTUNPACKFUNCS", " uninative_changeinterp") 130 d.appendVar("SSTATEPOSTUNPACKFUNCS", " uninative_changeinterp")
131 d.appendVarFlag("SSTATEPOSTUNPACKFUNCS", "vardepvalueexclude", "| uninative_changeinterp") 131 d.appendVarFlag("SSTATEPOSTUNPACKFUNCS", "vardepvalueexclude", "| uninative_changeinterp")
132 d.appendVar("BUILD_LDFLAGS", " -Wl,--allow-shlib-undefined")
133 d.appendVarFlag("BUILD_LDFLAGS", "vardepvalueexclude", "| -Wl,--allow-shlib-undefined")
132 d.prependVar("PATH", "${STAGING_DIR}-uninative/${BUILD_ARCH}-linux${bindir_native}:") 134 d.prependVar("PATH", "${STAGING_DIR}-uninative/${BUILD_ARCH}-linux${bindir_native}:")
133 135
134python uninative_changeinterp () { 136python uninative_changeinterp () {