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 '_arm' overrides an -# environment variable '' (when ${TARGET_ARCH} is arm). -# An environment variable '_qemuarm' overrides '' and overrides -# '_arm' when ${MACHINE} is 'qemuarm'. +# You generally want them to go from least to most specific. This means that: +# A variable '_arm' overrides a variable '' when ${TARGET_ARCH} is arm. +# A variable '_qemuarm' overrides '' and overrides '_arm' when ${MACHINE} is 'qemuarm'. # If you use combination ie '_qemuarm_arm', then '_qemuarm_arm' will override # '_qemuarm' and then '' will be overriden with that value from '_qemuarm'. # And finally '_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"