[OE-core] [PATCH 2/2] uclibc: Fix compilation in thumb mode

Khem Raj raj.khem at gmail.com
Fri Jul 1 05:25:00 UTC 2011


It was not setting COMPILE_IN_THUMB_MODE in .config
when ARM_INSTRUCTION_MODE = thumb. Reason was that
this entry has to exist in merged defconfig
so we add it disabled which means no harm to other
architectures

Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 meta/recipes-core/uclibc/uclibc-git/uClibc.distro |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/meta/recipes-core/uclibc/uclibc-git/uClibc.distro b/meta/recipes-core/uclibc/uclibc-git/uClibc.distro
index 72cbff9..ece7ddc 100644
--- a/meta/recipes-core/uclibc/uclibc-git/uClibc.distro
+++ b/meta/recipes-core/uclibc/uclibc-git/uClibc.distro
@@ -173,3 +173,11 @@ UCLIBC_HAS_EPOLL=y
 UCLIBC_HAS_FLOATS=y
 # needed by systemd
 UCLIBC_HAS_UTMPX=y
+
+# The below option is needed for ARM since depending
+# upong what intruction set is chosen this will be
+# enabled. As such it is harmless and will be punted
+# by menuconfig for other arches.
+
+# COMPILE_IN_THUMB_MODE is not set
+
-- 
1.7.4.1





More information about the Openembedded-core mailing list