diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2017-04-07 16:57:22 +1200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-04-11 18:09:19 +0100 |
commit | a147838c3dfd4c53084a19b052b8d4e183293412 (patch) | |
tree | 489aec517becad3de12925498622d67fabe48906 /meta/classes/uninative.bbclass | |
parent | 86cb4b01f2020553902554e512c02147eb4e0f51 (diff) | |
download | openembedded-core-a147838c3dfd4c53084a19b052b8d4e183293412.tar.gz openembedded-core-a147838c3dfd4c53084a19b052b8d4e183293412.tar.bz2 openembedded-core-a147838c3dfd4c53084a19b052b8d4e183293412.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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/uninative.bbclass')
-rw-r--r-- | meta/classes/uninative.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/uninative.bbclass b/meta/classes/uninative.bbclass index b5780316ec..8f3448336f 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 () { |