diff options
author | Khem Raj <raj.khem@gmail.com> | 2017-07-13 22:39:56 -0700 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-07-24 18:57:33 +0200 |
commit | cafe21e8a20610deffa3b79af223b939518ef9a8 (patch) | |
tree | a7270b5ea3bc78b26b0e48ba1844d7bb47f049f8 | |
parent | 00eacac42f3b676022d6a0585bb9b375f8da3f06 (diff) | |
download | meta-openembedded-cafe21e8a20610deffa3b79af223b939518ef9a8.tar.gz |
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@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r-- | meta-initramfs/recipes-devtools/klibc/klibc.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-initramfs/recipes-devtools/klibc/klibc.inc b/meta-initramfs/recipes-devtools/klibc/klibc.inc index c4c3e00b8..cd3f39808 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}' \ | |||
42 | " | 42 | " |
43 | 43 | ||
44 | export FIX_ARMV4_EABI_BX = "${FIX_V4BX}" | 44 | export FIX_ARMV4_EABI_BX = "${FIX_V4BX}" |
45 | KLIBCTHUMB = "${@['', 'CONFIG_KLIBC_THUMB=y'][(d.getVar('ARM_INSTRUCTION_SET') == 'thumb')]}" | 45 | KLIBCTHUMB = "${@['CONFIG_KLIBC_THUMB=n', 'CONFIG_KLIBC_THUMB=y'][(d.getVar('ARM_INSTRUCTION_SET') == 'thumb')]}" |
46 | 46 | ||
47 | do_configure () { | 47 | do_configure () { |
48 | ln -sf "${STAGING_DIR_TARGET}${exec_prefix}" linux | 48 | ln -sf "${STAGING_DIR_TARGET}${exec_prefix}" linux |