summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2013-05-29 17:27:51 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-01-02 12:47:38 +0000
commitbf2c8946d96524aaa91ab43762c963ea38ccc342 (patch)
tree1d1aaf003ec4b0d3b030cd2437a9a4318ce07223 /meta
parentc8c39c78878cdffe47b376b6211dd1ae45fd59d2 (diff)
downloadopenembedded-core-bf2c8946d96524aaa91ab43762c963ea38ccc342.tar.gz
openembedded-core-bf2c8946d96524aaa91ab43762c963ea38ccc342.tar.bz2
openembedded-core-bf2c8946d96524aaa91ab43762c963ea38ccc342.zip
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. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to 'meta')
-rw-r--r--meta/conf/bitbake.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 6675bffe57..ad1225b3c8 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 ?= ""