summaryrefslogtreecommitdiffstats
path: root/meta/conf/bitbake.conf
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-08-12 15:05:57 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-08-12 15:06:14 +0100
commitbb175ec20897281969012e6336eb5bd188e297c6 (patch)
tree0c167d225495f493c89b8338c8626ece4fb3240b /meta/conf/bitbake.conf
parent9ef9b5e1a7e74aec9bc68f5a8e18354247bd90fe (diff)
downloadpoky-bb175ec20897281969012e6336eb5bd188e297c6.tar.gz
bitbake.conf: Fix up OVERRIDES documentation (some bits from OE) and also add forcevariable OVERRIDE
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/conf/bitbake.conf')
-rw-r--r--meta/conf/bitbake.conf16
1 files changed, 10 insertions, 6 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 5a4013d2f7..2aaa5116f2 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -597,16 +597,20 @@ AUTO_LIBNAME_PKGS = "${PACKAGES}"
597### Config file processing 597### Config file processing
598### 598###
599 599
600# Overrides are processed left to right, so the ones that are named later take precedence.
601# You generally want them to go from least to most specific.
602#
600# This means that an envionment variable named '<foo>_arm' overrides an 603# This means that an envionment variable named '<foo>_arm' overrides an
601# environment variable '<foo>' (when ${TARGET_ARCH} is arm). And the same: an 604# environment variable '<foo>' (when ${TARGET_ARCH} is arm).
602# environment variable '<foo>_ramses' overrides both '<foo>' and '<foo>_arm 605# An environment variable '<foo>_ramses' overrides '<foo>' but doesn't override
603# when ${MACHINE} is 'ramses'. And finally '<foo>_local' overrides anything. 606# '<foo>_arm' when ${MACHINE} is 'ramses'.
607# If you use combination ie '<foo>_arm_ramses', then '<foo>_arm_ramses' will override
608# '<foo>_arm' and then '<foo>' will be overriden with that value from '<foo>_arm'.
609# And finally '<foo>_local' overrides any standard variable, but with lowest priority.
604# 610#
605# 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.
606# 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.
607OVERRIDES = "local:${MACHINE}:${DISTRO}:${TARGET_OS}:${TARGET_ARCH}:build-${BUILD_OS}:fail-fast:pn-${PN}" 613OVERRIDES = "local:${MACHINE}:${DISTRO}:${TARGET_OS}:${TARGET_ARCH}:build-${BUILD_OS}:fail-fast:pn-${PN}:forcevariable"
608# Alternative OVERRIDES definition without "fail fast", usually only for native building and Scratchbox toolchains.
609#OVERRIDES = "local:${MACHINE}:${DISTRO}:${TARGET_OS}:${TARGET_ARCH}:build-${BUILD_OS}:pn-${PN}"
610 614
611CPU_FEATURES ?= "" 615CPU_FEATURES ?= ""
612CPU_FEATURES_arm ?= "vfp" 616CPU_FEATURES_arm ?= "vfp"