[oe-commits] Paul Eggleton : bitbake.conf: set a default for MACHINE_FEATURES

git at git.openembedded.org git at git.openembedded.org
Thu Jan 2 12:53:31 UTC 2014


Module: openembedded-core.git
Branch: master
Commit: bf2c8946d96524aaa91ab43762c963ea38ccc342
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=bf2c8946d96524aaa91ab43762c963ea38ccc342

Author: Paul Eggleton <paul.eggleton at linux.intel.com>
Date:   Wed May 29 17:27:51 2013 +0100

bitbake.conf: set a default for MACHINE_FEATURES

Ensure that if MACHINE_FEATURES is not set by the machine config that we
don't end up with expansion errors during parsing. Technically since the
introduction of MACHINE_FEATURES_BACKFILL = "rtc" this is unlikely to be
a problem unless "rtc" is also added to
MACHINE_FEATURES_BACKFILL_CONSIDERED, however we should be consistent
with DISTRO_FEATURES which is defaulted in bitbake.conf.

Signed-off-by: Paul Eggleton <paul.eggleton at linux.intel.com>

---

 meta/conf/bitbake.conf | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 6675bff..ad1225b 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -707,6 +707,7 @@ OES_BITBAKE_CONF = "1"
 # Machine properties and packagegroup-base stuff
 ##################################################################
 
+MACHINE_FEATURES ?= ""
 DISTRO_FEATURES ?= ""
 
 DISTRO_EXTRA_RDEPENDS ?= ""



More information about the Openembedded-commits mailing list