From: Paul Eggleton Date: Wed, 29 May 2013 16:27:51 +0000 (+0100) Subject: bitbake.conf: set a default for MACHINE_FEATURES X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~34997 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf2c8946d96524aaa91ab43762c963ea38ccc342;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 --- diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 6675bffe579..ad1225b3c88 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 ?= ""