[oe-commits] [openembedded-core] 12/17: classes/uninative: set SSTATEPOSTUNPACKFUNCS[vardepvalueexclude] properly

git at git.openembedded.org git at git.openembedded.org
Mon Apr 10 23:27:09 UTC 2017


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit f3f52e1c1adc9c2e85fe7e2e740c6663568b552f
Author: Paul Eggleton <paul.eggleton at linux.intel.com>
AuthorDate: Fri Apr 7 16:57:22 2017 +1200

    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 at linux.intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/classes/uninative.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/uninative.bbclass b/meta/classes/uninative.bbclass
index b578031..8f34483 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 () {

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list