[oe-commits] Michael 'Mickey' Lauer : sane-toolchain.inc: add indirection again, it' s really necessary
GIT User account
git at amethyst.openembedded.net
Wed Mar 4 03:27:42 UTC 2009
Module: openembedded.git
Branch: org.openembedded.dev
Commit: 855818b4dd7dfb941ddca58f823336026bfc557e
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=855818b4dd7dfb941ddca58f823336026bfc557e
Author: Michael 'Mickey' Lauer <mickey at vanille-media.de>
Date: Wed Mar 4 04:26:34 2009 +0100
sane-toolchain.inc: add indirection again, it's really necessary
---
conf/distro/include/sane-toolchain.inc | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/conf/distro/include/sane-toolchain.inc b/conf/distro/include/sane-toolchain.inc
index 20ee76d..0d85990 100644
--- a/conf/distro/include/sane-toolchain.inc
+++ b/conf/distro/include/sane-toolchain.inc
@@ -68,11 +68,12 @@ TARGET_VENDOR = "-oe"
# Minimal turns on thumb for armv4t machine according to this RFC:
# http://lists.linuxtogo.org/pipermail/angstrom-distro-devel/2008-October/002714.html
-# We can't do ARM_INSTRUCTION_SET_armv4t since that will un-overridable in recipes like gcc
-ARM_INSTRUCTION_SET ?= "arm"
-ARM_INSTRUCTION_SET_armv4t = "thumb"
-ARM_INSTRUCTION_SET_armv5te = "thumb"
-ARM_INSTRUCTION_SET_armv5teb = "thumb"
+# We can't set ARM_INSTRUCTION_SET_<override> directly since that will un-overridable in recipes like gcc
+PREFERRED_ARM_INSTRUCTION_SET ?= "arm"
+PREFERRED_ARM_INSTRUCTION_SET_armv4t = "thumb"
+PREFERRED_ARM_INSTRUCTION_SET_armv5te = "thumb"
+PREFERRED_ARM_INSTRUCTION_SET_armv5teb = "thumb"
+ARM_INSTRUCTION_SET = "${PREFERRED_ARM_INSTRUCTION_SET}
# "arm" "thumb"
# The instruction set the compiler should use when generating application
# code. The kernel is always compiled with arm code at present. arm code
More information about the Openembedded-commits
mailing list