From: Martin Jansa Date: Thu, 19 Nov 2009 19:18:55 +0000 (+0100) Subject: bitbake.conf: Fix OVERRIDES description (After pb's explanation) X-Git-Tag: Release-2010-05/1~339^2~25^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=70af4a882915cb51302734ca0de3b810f05df072;p=openembedded.git bitbake.conf: Fix OVERRIDES description (After pb's explanation) Signed-off-by: Martin Jansa --- diff --git a/conf/bitbake.conf b/conf/bitbake.conf index 4435fdd8bd..b69b6757db 100644 --- a/conf/bitbake.conf +++ b/conf/bitbake.conf @@ -651,10 +651,16 @@ BUILDCFG_NEEDEDVARS ?= "TARGET_ARCH TARGET_OS" ### 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 anything, 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.