[1/2] conf/bitbake.conf: Add MACHINEOVERRIDES variable

Submitted by Khem Raj on May 13, 2011, 6:45 p.m.


Message ID 0ed903cb6e77ae2115739596fffbe6b913c3f9bb.1305312304.git.raj.khem@gmail.com
State New, archived
Headers show

Commit Message

Khem Raj May 13, 2011, 6:45 p.m.
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.


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 <raj.khem@gmail.com>
 meta/conf/bitbake.conf |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

Patch hide | download patch | download mbox

diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 7c72de1..8b6236e 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -610,8 +610,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"
 CPU_FEATURES_arm ?= "vfp"