aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2017-03-15 12:18:56 +1300
committerPaul Eggleton <paul.eggleton@linux.intel.com>2017-04-07 10:03:53 +1200
commitcbe34fca7f175f800c50298defaaf0ea88473c15 (patch)
tree42114468fc2096c57730f57ad82b6331fd0cd304
parentbad4649d3e8a220ea5ed0e1f1addb9a0e07ecbc1 (diff)
downloadopenembedded-core-contrib-cbe34fca7f175f800c50298defaaf0ea88473c15.tar.gz
openembedded-core-contrib-cbe34fca7f175f800c50298defaaf0ea88473c15.tar.bz2
openembedded-core-contrib-cbe34fca7f175f800c50298defaaf0ea88473c15.zip
classes/uninative: set SSTATEPOSTUNPACKFUNCS[vardepvalueexclude] properly
Append to the value with appendVarFlag() instead of setting it outright, so that we can also append to it in other places. Accordingly, this varflag is pipe-separated (since we want to be able to exclude any string fragment, in this case including the leading space), thus put a leading pipe character to play nicely with any existing value. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
-rw-r--r--meta/classes/uninative.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/uninative.bbclass b/meta/classes/uninative.bbclass
index b5780316ec3..8f3448336f6 100644
--- a/meta/classes/uninative.bbclass
+++ b/meta/classes/uninative.bbclass
@@ -100,7 +100,7 @@ def enable_uninative(d):
bb.debug(2, "Enabling uninative")
d.setVar("NATIVELSBSTRING", "universal%s" % oe.utils.host_gcc_version(d))
d.appendVar("SSTATEPOSTUNPACKFUNCS", " uninative_changeinterp")
- d.setVarFlag("SSTATEPOSTUNPACKFUNCS", "vardepvalueexclude", " uninative_changeinterp")
+ d.appendVarFlag("SSTATEPOSTUNPACKFUNCS", "vardepvalueexclude", "| uninative_changeinterp")
d.prependVar("PATH", "${STAGING_DIR}-uninative/${BUILD_ARCH}-linux${bindir_native}:")
python uninative_changeinterp () {