From patchwork Sun May 15 01:32:29 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [12/15] conf/bitbake.conf: Add MACHINEOVERRIDES variable Date: Sun, 15 May 2011 01:32:29 -0000 From: Saul Wold X-Patchwork-Id: 4055 Message-Id: To: openembedded-core@lists.openembedded.org Cc: Paul Eggleton , Kang Kai From: Khem Raj By defualt it points to $MACHINE but sometimes its desired to have more than one overrides stemming out of a machine then they can be added to MACHINEOVERRIDES. e.g. MACHINEOVERRIDES = "${MACHINE}:nslu2" Note that if you redefine MACHINEOVERRIDES then default override for machine has to be added to it explicitly otherwise it will get lost. Signed-off-by: Khem Raj --- meta/conf/bitbake.conf | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 418a15d..a3bf7c9 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf @@ -606,8 +606,9 @@ AUTO_LIBNAME_PKGS = "${PACKAGES}" # # This works for functions as well, they are really just environment variables. # Default OVERRIDES to make compilation fail fast in case of build system misconfiguration. -OVERRIDES = "local:${MACHINE}:${DISTROOVERRIDES}:${TARGET_OS}:${TARGET_ARCH}:build-${BUILD_OS}:fail-fast:pn-${PN}:forcevariable" +OVERRIDES = "local:${MACHINEOVERRIDES}:${DISTROOVERRIDES}:${TARGET_OS}:${TARGET_ARCH}:build-${BUILD_OS}:fail-fast:pn-${PN}:forcevariable" DISTROOVERRIDES ?= "${DISTRO}" +MACHINEOVERRIDES ?= "${MACHINE}" CPU_FEATURES ?= "" CPU_FEATURES_arm ?= "vfp"