Patchwork [2/2] uclibc: Fix compilation in thumb mode

login
register
mail settings
Submitter Khem Raj
Date July 1, 2011, 5:25 a.m.
Message ID <1309497900-26079-2-git-send-email-raj.khem@gmail.com>
Download mbox | patch
Permalink /patch/6781/
State New, archived
Headers show

Comments

Khem Raj - July 1, 2011, 5:25 a.m.
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@gmail.com>
---
 meta/recipes-core/uclibc/uclibc-git/uClibc.distro |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
Richard Purdie - July 1, 2011, 10:56 p.m.
On Thu, 2011-06-30 at 22:25 -0700, Khem Raj wrote:
> 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@gmail.com>
> ---
>  meta/recipes-core/uclibc/uclibc-git/uClibc.distro |    8 ++++++++
>  1 files changed, 8 insertions(+), 0 deletions(-)

Merged to master, thanks.

Richard

Patch

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
+