summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2011-05-26 22:36:11 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-05-27 16:54:54 +0100
commit77f93a2e1868a50d8d39d3efe621c530af32b450 (patch)
tree358fc97f7e4bf660069340dbf7d8811147defc4b /meta
parent7011d80c6cabc304e06237d167143d577fdd2570 (diff)
downloadopenembedded-core-77f93a2e1868a50d8d39d3efe621c530af32b450.tar.gz
openembedded-core-77f93a2e1868a50d8d39d3efe621c530af32b450.tar.bz2
openembedded-core-77f93a2e1868a50d8d39d3efe621c530af32b450.tar.xz
openembedded-core-77f93a2e1868a50d8d39d3efe621c530af32b450.zip
uclibc.inc: Set COMPILE_IN_THUMB_MODE in .config if ARM_INSTRUCTION_SET != arm
This will configure uclibc to be compiled in thumb/thumb2 mode Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-core/uclibc/uclibc.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-core/uclibc/uclibc.inc b/meta/recipes-core/uclibc/uclibc.inc
index e7d884673..c1bc42264 100644
--- a/meta/recipes-core/uclibc/uclibc.inc
+++ b/meta/recipes-core/uclibc/uclibc.inc
@@ -135,6 +135,7 @@ configmangle = '/^KERNEL_HEADERS/d; \
/^SHARED_LIB_LOADER_PREFIX/d; \
/^UCLIBC_EXTRA_CFLAGS/d; \
s,.*UCLIBC_HAS_WCHAR.*,UCLIBC_HAS_WCHAR=y,g; \
+ ${@["","s,.*COMPILE_IN_THUMB_MODE.*,COMPILE_IN_THUMB_MODE=y,;"][bb.data.getVar("ARM_INSTRUCTION_SET", d, 1) != "arm"]} \
${@["","s,.*UCLIBC_HAS_LOCALE.*,UCLIBC_HAS_LOCALE=y,;"][bb.data.getVar("USE_NLS", d, 1) == "yes"]} \
${@["","s,.*LDSO_GNU_HASH_SUPPORT.*,# LDSO_GNU_HASH_SUPPORT is not set,;"][bb.data.getVar("TARGET_ARCH", d, 1) in ['mips', 'mipsel', 'mips64', 'mips64el', 'avr32']]} \
/^CROSS/d; \