summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2011-05-13 11:39:04 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-05-16 15:32:19 +0100
commit9248bf03d4262bf7b04263b8116a340f1b9545e6 (patch)
treebd5031670c931f79bebe092abbc434ce01b28e9f
parentff156458f09250b67d23a4b609116dfa578ea2c9 (diff)
downloadpoky-9248bf03d4262bf7b04263b8116a340f1b9545e6.tar.gz
conf/bitbake.conf: Add MACHINEOVERRIDES variable
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. (From OE-Core rev: a16f793dd6b2b1b61704c6a7082b30abfca5fb4d) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/conf/bitbake.conf3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 7c72de1e29..8b6236e03e 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -610,8 +610,9 @@ AUTO_LIBNAME_PKGS = "${PACKAGES}"
610# 610#
611# This works for functions as well, they are really just environment variables. 611# This works for functions as well, they are really just environment variables.
612# Default OVERRIDES to make compilation fail fast in case of build system misconfiguration. 612# Default OVERRIDES to make compilation fail fast in case of build system misconfiguration.
613OVERRIDES = "local:${MACHINE}:${DISTROOVERRIDES}:${TARGET_OS}:${TARGET_ARCH}:build-${BUILD_OS}:fail-fast:pn-${PN}:forcevariable" 613OVERRIDES = "local:${MACHINEOVERRIDES}:${DISTROOVERRIDES}:${TARGET_OS}:${TARGET_ARCH}:build-${BUILD_OS}:fail-fast:pn-${PN}:forcevariable"
614DISTROOVERRIDES ?= "${DISTRO}" 614DISTROOVERRIDES ?= "${DISTRO}"
615MACHINEOVERRIDES ?= "${MACHINE}"
615 616
616CPU_FEATURES ?= "" 617CPU_FEATURES ?= ""
617CPU_FEATURES_arm ?= "vfp" 618CPU_FEATURES_arm ?= "vfp"