[oe-commits] [meta-openembedded] 39/97: klibc: Fix build issue when default ISA is not thumb

git at git.openembedded.org git at git.openembedded.org
Thu Sep 21 09:59:10 UTC 2017


This is an automated email from the git hooks/post-receive script.

martin_jansa pushed a commit to branch pyro-next
in repository meta-openembedded.

commit 349299001d0079b3214c96e2e41ae60f355fa943
Author: Khem Raj <raj.khem at gmail.com>
AuthorDate: Thu Jul 13 22:39:56 2017 -0700

    klibc: Fix build issue when default ISA is not thumb
    
    We were passing empty string '' to make as option when
    ISA was not thumb this breaks build for machines/distros
    which do not use ARM_INSTRUCTION_SET = thumb
    
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
    Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
    (cherry picked from commit cafe21e8a20610deffa3b79af223b939518ef9a8)
    Signed-off-by: Armin Kuster <akuster808 at gmail.com>
---
 meta-initramfs/recipes-devtools/klibc/klibc.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-initramfs/recipes-devtools/klibc/klibc.inc b/meta-initramfs/recipes-devtools/klibc/klibc.inc
index c4c3e00..cd3f398 100644
--- a/meta-initramfs/recipes-devtools/klibc/klibc.inc
+++ b/meta-initramfs/recipes-devtools/klibc/klibc.inc
@@ -42,7 +42,7 @@ EXTRA_OEMAKE = "'KLIBCARCH=${KLIBC_ARCH}' \
                 "
 
 export FIX_ARMV4_EABI_BX = "${FIX_V4BX}"
-KLIBCTHUMB = "${@['', 'CONFIG_KLIBC_THUMB=y'][(d.getVar('ARM_INSTRUCTION_SET') == 'thumb')]}"
+KLIBCTHUMB = "${@['CONFIG_KLIBC_THUMB=n', 'CONFIG_KLIBC_THUMB=y'][(d.getVar('ARM_INSTRUCTION_SET') == 'thumb')]}"
 
 do_configure () {
     ln -sf "${STAGING_DIR_TARGET}${exec_prefix}" linux

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list