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:10:17 +0100 |
commit | 54426c3a3b913a37a3e16895138e9f33f214aed1 (patch) | |
tree | 8415e1a0fbc92264a8b4eae85b31efda17c6734f /meta | |
parent | 1f19d9dfe59d5d627bc7ce0b20bd762e5b304dca (diff) | |
download | poky-54426c3a3b913a37a3e16895138e9f33f214aed1.tar.gz |
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.
(From OE-Core rev: a147838c3dfd4c53084a19b052b8d4e183293412)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-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): | |||
100 | bb.debug(2, "Enabling uninative") | 100 | bb.debug(2, "Enabling uninative") |
101 | d.setVar("NATIVELSBSTRING", "universal%s" % oe.utils.host_gcc_version(d)) | 101 | d.setVar("NATIVELSBSTRING", "universal%s" % oe.utils.host_gcc_version(d)) |
102 | d.appendVar("SSTATEPOSTUNPACKFUNCS", " uninative_changeinterp") | 102 | d.appendVar("SSTATEPOSTUNPACKFUNCS", " uninative_changeinterp") |
103 | d.setVarFlag("SSTATEPOSTUNPACKFUNCS", "vardepvalueexclude", " uninative_changeinterp") | 103 | d.appendVarFlag("SSTATEPOSTUNPACKFUNCS", "vardepvalueexclude", "| uninative_changeinterp") |
104 | d.prependVar("PATH", "${STAGING_DIR}-uninative/${BUILD_ARCH}-linux${bindir_native}:") | 104 | d.prependVar("PATH", "${STAGING_DIR}-uninative/${BUILD_ARCH}-linux${bindir_native}:") |
105 | 105 | ||
106 | python uninative_changeinterp () { | 106 | python uninative_changeinterp () { |