From 83ce96f44516c8a4a44c8c0140949256f8422014 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Tue, 24 May 2011 16:04:20 +0200 Subject: bitbake.conf: make OVERRIDES match what people expect In the current situation TARGET_ARCH will override MACHINE, which is counter intuitive since the machine is more specific than the arch. The order is now pn-$PN} -> arch -> machine -> distro as the machine is a set of defaults and the distro is the ultimate policy. 'failfast' has been removed since it's not used anymore, just like 'local' --- meta/conf/bitbake.conf | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 8ec0a86e2c..de943161d7 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf @@ -619,15 +619,15 @@ AUTO_LIBNAME_PKGS = "${PACKAGES}" # # This means that an envionment variable named '_arm' overrides an # 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. +# An environment 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 environment variables. # Default OVERRIDES to make compilation fail fast in case of build system misconfiguration. -OVERRIDES = "local:${MACHINEOVERRIDES}:${DISTROOVERRIDES}:${TARGET_OS}:${TARGET_ARCH}:build-${BUILD_OS}:fail-fast:pn-${PN}:forcevariable" +OVERRIDES = "${TARGET_OS}:${TARGET_ARCH}:build-${BUILD_OS}:pn-${PN}:${MACHINEOVERRIDES}:${DISTROOVERRIDES}:forcevariable" DISTROOVERRIDES ?= "${DISTRO}" MACHINEOVERRIDES ?= "${MACHINE}" -- cgit 1.2.3-korg