Patchwork [38/38] bitbake.conf: set a default for MACHINE_FEATURES

login
register
mail settings
Submitter Paul Eggleton
Date Dec. 28, 2013, 10:29 p.m.
Message ID <ab13225369dadd1438effb1b7509694dcdaffede.1388269205.git.paul.eggleton@linux.intel.com>
Download mbox | patch
Permalink /patch/63849/
State Accepted
Commit 87f74cae704d9659437bdfcde6ca31018534c73f
Headers show

Comments

Paul Eggleton - Dec. 28, 2013, 10:29 p.m.
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@linux.intel.com>
---
 meta/conf/bitbake.conf | 1 +
 1 file changed, 1 insertion(+)

Patch

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 ?= ""