aboutsummaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorGraeme Gregory <dp@xora.org.uk>2009-07-10 22:11:52 +0100
committerGraeme Gregory <dp@xora.org.uk>2009-07-10 22:11:52 +0100
commit0b207488de111a97eabcaeefa9a904431407ecff (patch)
treeadd82cc7c27af1a2f85c457d0cca51dee89eb466 /conf
parent8b0c5558ac548345d6ae363c4105488d5f1e4900 (diff)
downloadopenembedded-0b207488de111a97eabcaeefa9a904431407ecff.tar.gz
Revert "base.bbclass: add support for machine configuration fallback"
This reverts commit 6633c4c95a713bc365f5d87acc4a94621ed50034.
Diffstat (limited to 'conf')
-rw-r--r--conf/bitbake.conf37
1 files changed, 15 insertions, 22 deletions
diff --git a/conf/bitbake.conf b/conf/bitbake.conf
index d26efe84f0..8b6956453b 100644
--- a/conf/bitbake.conf
+++ b/conf/bitbake.conf
@@ -615,6 +615,21 @@ BUILDCFG_VARS_append_arm = " TARGET_FPU"
BUILDCFG_VARS_append_armeb = " TARGET_FPU"
BUILDCFG_NEEDEDVARS ?= "TARGET_ARCH TARGET_OS"
+###
+### Config file processing
+###
+
+# This means that an envionment variable named '<foo>_arm' overrides an
+# environment variable '<foo>' (when ${TARGET_ARCH} is arm). And the same: an
+# environment variable '<foo>_ramses' overrides both '<foo>' and '<foo>_arm
+# when ${MACHINE} is 'ramses'. And finally '<foo>_local' overrides anything.
+#
+# 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}"
+
##################################################################
# Include the rest of the config files.
##################################################################
@@ -636,28 +651,6 @@ require conf/sanity.conf
require conf/abi_version.conf
require conf/enterprise.conf
-###
-### Config file processing
-###
-
-# A list of machines that ought to be used when looking for
-# overrides. For example, geodegx and geodelx machines can have geode
-# as a fallback and then avoiding duplicated content between them.
-MACHINE_FALLBACK ?= ""
-
-MACHINE_OVERRIDES = "${@':'.join([bb.data.getVar('MACHINE', d)] + bb.data.getVar('MACHINE_FALLBACK', d).split()) or ':'}"
-
-# This means that an envionment variable named '<foo>_arm' overrides an
-# environment variable '<foo>' (when ${TARGET_ARCH} is arm). And the same: an
-# environment variable '<foo>_ramses' overrides both '<foo>' and '<foo>_arm
-# when ${MACHINE} is 'ramses'. And finally '<foo>_local' overrides anything.
-#
-# 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_OVERRIDES}:${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_OVERRIDES}:${DISTRO}:${TARGET_OS}:${TARGET_ARCH}:build-${BUILD_OS}:pn-${PN}"
-
##################################################################
# Weak variables (usually to retain backwards compatibility)
##################################################################