[OE-core] [PATCH 38/38] bitbake.conf: set a default for MACHINE_FEATURES

Paul Eggleton paul.eggleton at linux.intel.com
Sat Dec 28 22:29:34 UTC 2013


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 d6cb33c..57668e1 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 ?= ""
-- 
1.8.1.2




More information about the Openembedded-core mailing list