]> code.ossystems Code Review - openembedded-core.git/commit
base.bbclass: Introduce PACKAGECONFIG_CONFARGS variable
authorMartin Jansa <martin.jansa@gmail.com>
Tue, 19 Apr 2016 10:31:40 +0000 (12:31 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 19 Apr 2016 13:46:51 +0000 (14:46 +0100)
commit0ea4a47bfc27d02594d489b27c029d3d3badf3d4
tree10d2eee358160bf07058800a19122cb0f3f5356b
parent9488d7baa36955d5bde9231f49e72657875172a4
base.bbclass: Introduce PACKAGECONFIG_CONFARGS variable

* add separate variable for configuration options generated from
  PACKAGECONFIG setting, this helps other bbclasses and recipes
  to take advantage of PACKAGECONFIG mechanism, without including
  other options from EXTRA_OECONF
* e.g. meta-qt5 recipes are abusing EXTRA_OECONF to get options
  from PACKAGECONFIG:
  EXTRA_QMAKEVARS_PRE +=
  but with
  conf/distro/include/no-static-libs.inc
  it means getting --disable-static as invalid option inside
  EXTRA_QMAKEVARS_PRE as reported by Alexandre Belloni who tried
  to use poky with meta-qt5.
* once we migrate all bbclasses and recipes to PACKAGECONFIG_CONFARGS
  we should also restrict EXTRA_OECONF append only to autotools.bbclass
  like I did for cmake.bbclass

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/base.bbclass
meta/classes/cmake.bbclass