[oe] [meta-oe][PATCH] gcc-common-4.6.inc: Set ARM_INSTRUCTION_SET to arm

Khem Raj raj.khem at gmail.com
Mon Jun 27 19:32:41 UTC 2011


Otherwise it will compile libgcc in thumb mode when thumb
mode is selected and libgcc in thumb mode does not work
well.

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

diff --git a/meta-oe/recipes-devtools/gcc/gcc-common-4.6.inc b/meta-oe/recipes-devtools/gcc/gcc-common-4.6.inc
index 059f441..e5a1fba 100644
--- a/meta-oe/recipes-devtools/gcc/gcc-common-4.6.inc
+++ b/meta-oe/recipes-devtools/gcc/gcc-common-4.6.inc
@@ -1,3 +1,4 @@
 # this will prepend this layer to FILESPATH
 FILESEXTRAPATHS := "${THISDIR}/gcc-4.6"
-PRINC = "0"
+PRINC = "1"
+ARM_INSTRUCTION_SET = "arm"
-- 
1.7.4.1





More information about the Openembedded-devel mailing list