diff options
-rw-r--r-- | meta/conf/bitbake.conf | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 702f498fef..6ecf78b078 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf @@ -722,19 +722,16 @@ export PKG_CONFIG_SYSTEM_INCLUDE_PATH = "${includedir}" # is a bad idea. Setting a dummy value is better than a ton of anonymous python. DISTRO ??= "nodistro" DISTRO_NAME ??= "OpenEmbedded" + # 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 '<foo>_arm' overrides an -# environment variable '<foo>' (when ${TARGET_ARCH} is arm). -# An environment variable '<foo>_qemuarm' overrides '<foo>' and overrides -# '<foo>_arm' when ${MACHINE} is 'qemuarm'. +# You generally want them to go from least to most specific. This means that: +# A variable '<foo>_arm' overrides a variable '<foo>' when ${TARGET_ARCH} is arm. +# A variable '<foo>_qemuarm' overrides '<foo>' and overrides '<foo>_arm' when ${MACHINE} is 'qemuarm'. # If you use combination ie '<foo>_qemuarm_arm', then '<foo>_qemuarm_arm' will override # '<foo>_qemuarm' and then '<foo>' will be overriden with that value from '<foo>_qemuarm'. # And finally '<foo>_forcevariable' overrides any standard variable, with the highest priority. +# This works for functions as well, they are really just variables. # -# 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 = "${TARGET_OS}:${TRANSLATED_TARGET_ARCH}:pn-${PN}:${MACHINEOVERRIDES}:${DISTROOVERRIDES}:${CLASSOVERRIDE}${LIBCOVERRIDE}:forcevariable" LIBCOVERRIDE ?= "" CLASSOVERRIDE ?= "class-target" |