From: Khem Raj <raj.khem@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: [PATCH] sane-toolchain.inc: THUMB_INTERWORK should not be defined for armv4 and add armv4 to ARM EABI supporting architectures.
Date: Mon, 19 Jul 2010 01:24:17 -0700 [thread overview]
Message-ID: <1279527857-12295-1-git-send-email-raj.khem@gmail.com> (raw)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
conf/distro/include/sane-toolchain.inc | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/conf/distro/include/sane-toolchain.inc b/conf/distro/include/sane-toolchain.inc
index 6b6b170..8d9912f 100644
--- a/conf/distro/include/sane-toolchain.inc
+++ b/conf/distro/include/sane-toolchain.inc
@@ -86,7 +86,12 @@ ARM_INSTRUCTION_SET = "${PREFERRED_ARM_INSTRUCTION_SET}"
# but requires more instructions (140% for 70% smaller code) so may be
# slower.
-THUMB_INTERWORK = "yes"
+# armv4 does not have thumb instruction set therefore no interworking instructions
+# so if machine is based on armv4 we dont have choice.
+
+THUMB_INTERWORK_armv4 = "no"
+THUMB_INTERWORK ?= "yes"
+
# "yes" "no"
# Whether to compile with code to allow interworking between the two
# instruction sets. This allows thumb code to be executed on a primarily
@@ -145,7 +150,7 @@ def detect_arm_abi (d):
return "oabi"
else:
return ""
- if bb.data.getVar('TARGET_ARCH', d, 1) in [ 'arm', 'armeb' ]:
+ if bb.data.getVar('TARGET_ARCH', d, 1) in [ 'arm', 'armeb' ]:
if 'eabi' in bb.data.getVar('DISTRO_FEATURES',d).split():
return "eabi"
return "oabi"
@@ -154,7 +159,7 @@ def detect_arm_abi (d):
def compute_os_portion_of_target_triplet (d):
import bb
arm_eabi_supporting_arches = "armv6 armv6-novfp \
- armv5te iwmmxt armv7a armv7 armv5teb armv4t"
+ armv5te iwmmxt armv7a armv7 armv5teb armv4t armv4"
ppc_spe_supporting_arches = "ppce500v2 ppce500"
gnu_suffix = ""
if bb.data.getVar('LIBC', d, 1) == "uclibc":
--
1.7.0.4
next reply other threads:[~2010-07-19 8:24 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-19 8:24 Khem Raj [this message]
2010-07-19 14:26 ` [PATCH] sane-toolchain.inc: THUMB_INTERWORK should not be defined for armv4 and add armv4 to ARM EABI supporting architectures Phil Blundell
2010-07-19 16:29 ` Khem Raj
2010-07-19 16:46 ` Phil Blundell
2010-07-19 17:34 ` Khem Raj
2010-07-19 20:20 ` Phil Blundell
2010-07-19 22:42 ` Khem Raj
2010-07-19 22:49 ` Khem Raj
2010-07-20 7:11 ` Phil Blundell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1279527857-12295-1-git-send-email-raj.khem@gmail.com \
--to=raj.khem@gmail.com \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox