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:50:25 +0000 (12:50 +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.

(From OE-Core rev: bf2c8946d96524aaa91ab43762c963ea38ccc342)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/conf/bitbake.conf

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