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:21:11 +0100 |
commit | a16f793dd6b2b1b61704c6a7082b30abfca5fb4d (patch) | |
tree | 20810070bd512cc8d866e299cd416336f71997f9 | |
parent | ec3db64579a945c72da17a873174cb108870d05b (diff) | |
download | openembedded-core-a16f793dd6b2b1b61704c6a7082b30abfca5fb4d.tar.gz openembedded-core-a16f793dd6b2b1b61704c6a7082b30abfca5fb4d.tar.bz2 openembedded-core-a16f793dd6b2b1b61704c6a7082b30abfca5fb4d.zip |
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.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-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}" # # 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" |