[oe] [meta-oe][PATCH] gcc-4.5.inc: Compile gcc runtime stuff always in ARM mode for arm

raj.khem at gmail.com raj.khem at gmail.com
Thu Apr 7 22:28:44 UTC 2011


From: Khem Raj <raj.khem at gmail.com>

Some distros e.g. SHR uses thumb1 for armv4t and armv5t
so we need to make sure that in such cases libgcc is compiled
in ARM mode

Signed-off-by: Khem Raj <raj.khem at gmail.com>
Tested-by: Martin Jansa <Martin.Jansa at gmail.com>
---
 meta-oe/recipes-devtools/gcc/gcc-4.5.inc |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/meta-oe/recipes-devtools/gcc/gcc-4.5.inc b/meta-oe/recipes-devtools/gcc/gcc-4.5.inc
index b510650..519a1e7 100644
--- a/meta-oe/recipes-devtools/gcc/gcc-4.5.inc
+++ b/meta-oe/recipes-devtools/gcc/gcc-4.5.inc
@@ -1,4 +1,5 @@
 require recipes-devtools/gcc/gcc-common.inc
+ARM_INSTRUCTION_SET = "arm"
 
 DEPENDS =+ "mpfr gmp libmpc elfutils"
 NATIVEDEPS = "mpfr-native gmp-native gettext-native libmpc-native elfutils-native"
@@ -14,7 +15,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
 
 SRCREV = "170880"
 PV = "4.5"
-INC_PR = "r34"
+INC_PR = "r35"
 
 # BINV should be incremented after updating to a revision
 # after a minor gcc release (e.g. 4.5.1 or 4.5.2) has been made
-- 
1.7.4.1





More information about the Openembedded-devel mailing list