diff options
author | Khem Raj <raj.khem@gmail.com> | 2011-05-13 11:39:04 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-05-16 15:32:19 +0100 |
commit | 9248bf03d4262bf7b04263b8116a340f1b9545e6 (patch) | |
tree | bd5031670c931f79bebe092abbc434ce01b28e9f | |
parent | ff156458f09250b67d23a4b609116dfa578ea2c9 (diff) | |
download | poky-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.conf | 3 |
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. |
613 | OVERRIDES = "local:${MACHINE}:${DISTROOVERRIDES}:${TARGET_OS}:${TARGET_ARCH}:build-${BUILD_OS}:fail-fast:pn-${PN}:forcevariable" | 613 | OVERRIDES = "local:${MACHINEOVERRIDES}:${DISTROOVERRIDES}:${TARGET_OS}:${TARGET_ARCH}:build-${BUILD_OS}:fail-fast:pn-${PN}:forcevariable" |
614 | DISTROOVERRIDES ?= "${DISTRO}" | 614 | DISTROOVERRIDES ?= "${DISTRO}" |
615 | MACHINEOVERRIDES ?= "${MACHINE}" | ||
615 | 616 | ||
616 | CPU_FEATURES ?= "" | 617 | CPU_FEATURES ?= "" |
617 | CPU_FEATURES_arm ?= "vfp" | 618 | CPU_FEATURES_arm ?= "vfp" |