[oe-commits] [openembedded-core] 13/15: base.bbclass: define PACKAGECONFIG_CONFARGS before only sometimes appending to it

git at git.openembedded.org git at git.openembedded.org
Tue Jun 18 14:56:39 UTC 2019


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 745b63f4e11a6536cabd97013973562631a0e080
Author: Martin Jansa <martin.jansa at gmail.com>
AuthorDate: Tue Jun 18 11:41:52 2019 +0000

    base.bbclass: define PACKAGECONFIG_CONFARGS before only sometimes appending to it
    
    * just to make sure it's expaned by bitbake before it gets
      executed in shell
    * e.g. with cmake.bbclass and cmake recipe (any recipe without
      PACKAGECONFIG options have this issue) it looks like this:
      bitbake -e cmake | grep EXTRA_OECMAKE=
      EXTRA_OECMAKE="     -DCMAKE_DOC_DIR=share/doc/cmake-3.14
        -DCMAKE_USE_SYSTEM_LIBRARIES=1 -DCMAKE_USE_SYSTEM_LIBRARY_JSONCPP=0
        -DCMAKE_USE_SYSTEM_LIBRARY_LIBUV=0
        -DCMAKE_USE_SYSTEM_LIBRARY_LIBRHASH=0     -DKWSYS_CHAR_IS_SIGNED=1
        -DBUILD_CursesDialog=0     -DKWSYS_LFS_WORKS=1
        \${PACKAGECONFIG_CONFARGS}"
    
    Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/classes/base.bbclass | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index 90af8ba..0c8a4b2 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -15,6 +15,8 @@ OE_EXTRA_IMPORTS ?= ""
 OE_IMPORTS += "os sys time oe.path oe.utils oe.types oe.package oe.packagegroup oe.sstatesig oe.lsb oe.cachedpath oe.license ${OE_EXTRA_IMPORTS}"
 OE_IMPORTS[type] = "list"
 
+PACKAGECONFIG_CONFARGS ??= ""
+
 def oe_import(d):
     import sys
 

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


More information about the Openembedded-commits mailing list