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.

(From OE-Core rev: bf2c8946d96524aaa91ab43762c963ea38ccc342)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Paul Eggleton 2013-05-29 17:27:51 +01:00 committed by Richard Purdie
parent 8ae3f2293f
commit 87f74cae70
1 changed files with 1 additions and 0 deletions

View File

@ -707,6 +707,7 @@ OES_BITBAKE_CONF = "1"
# Machine properties and packagegroup-base stuff
##################################################################
MACHINE_FEATURES ?= ""
DISTRO_FEATURES ?= ""
DISTRO_EXTRA_RDEPENDS ?= ""