From bb175ec20897281969012e6336eb5bd188e297c6 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 12 Aug 2010 15:05:57 +0100 Subject: bitbake.conf: Fix up OVERRIDES documentation (some bits from OE) and also add forcevariable OVERRIDE Signed-off-by: Richard Purdie --- meta/conf/bitbake.conf | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'meta/conf/bitbake.conf') diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 5a4013d2f..2aaa5116f 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf @@ -597,16 +597,20 @@ AUTO_LIBNAME_PKGS = "${PACKAGES}" ### Config file processing ### +# Overrides are processed left to right, so the ones that are named later take precedence. +# You generally want them to go from least to most specific. +# # This means that an envionment variable named '_arm' overrides an -# environment variable '' (when ${TARGET_ARCH} is arm). And the same: an -# environment variable '_ramses' overrides both '' and '_arm -# when ${MACHINE} is 'ramses'. And finally '_local' overrides anything. +# environment variable '' (when ${TARGET_ARCH} is arm). +# An environment variable '_ramses' overrides '' but doesn't override +# '_arm' when ${MACHINE} is 'ramses'. +# If you use combination ie '_arm_ramses', then '_arm_ramses' will override +# '_arm' and then '' will be overriden with that value from '_arm'. +# And finally '_local' overrides any standard variable, but with lowest priority. # # 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}:${DISTRO}:${TARGET_OS}:${TARGET_ARCH}:build-${BUILD_OS}:fail-fast:pn-${PN}" -# Alternative OVERRIDES definition without "fail fast", usually only for native building and Scratchbox toolchains. -#OVERRIDES = "local:${MACHINE}:${DISTRO}:${TARGET_OS}:${TARGET_ARCH}:build-${BUILD_OS}:pn-${PN}" +OVERRIDES = "local:${MACHINE}:${DISTRO}:${TARGET_OS}:${TARGET_ARCH}:build-${BUILD_OS}:fail-fast:pn-${PN}:forcevariable" CPU_FEATURES ?= "" CPU_FEATURES_arm ?= "vfp" -- cgit v1.2.3