]> code.ossystems Code Review - openembedded-core.git/commitdiff
bitbake.conf: set a default for MACHINE_FEATURES
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Wed, 29 May 2013 16:27:51 +0000 (17:27 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 2 Jan 2014 12:47:38 +0000 (12:47 +0000)
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

index 6675bffe57928f501434c455658a2cc1ab722a95..ad1225b3c8880d95cb51ed4b9d46b50f300f564c 100644 (file)
@@ -707,6 +707,7 @@ OES_BITBAKE_CONF = "1"
 # Machine properties and packagegroup-base stuff
 ##################################################################
 
+MACHINE_FEATURES ?= ""
 DISTRO_FEATURES ?= ""
 
 DISTRO_EXTRA_RDEPENDS ?= ""