summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2017-08-15 15:03:30 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-08-17 00:21:14 +0100
commitc89ed0fd756ae58fe52a15abf31a842b30881995 (patch)
tree01df7072fc264549ceb70a95d3b377eac63bcb7f /meta/recipes-devtools
parentfed5d9c8f013c2c6d29b92e874f523555f339cf5 (diff)
downloadpoky-c89ed0fd756ae58fe52a15abf31a842b30881995.tar.gz
llvm: Swith to ARM ISA on armv5 and armv4t
When Thumb1 is used as default ISA, there are linker issues, therefore always use ARM ISA Fixes relocation truncated to fit: R_ARM_THM_CALL against symbol `__gnu_thumb1_case_uhi' defined in .text section (From OE-Core rev: a0c9d19b46ccefbb90eea5965e11ea21d13242b4) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/llvm/llvm_git.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-devtools/llvm/llvm_git.bb b/meta/recipes-devtools/llvm/llvm_git.bb
index 09031f5477..632178fd77 100644
--- a/meta/recipes-devtools/llvm/llvm_git.bb
+++ b/meta/recipes-devtools/llvm/llvm_git.bb
@@ -52,6 +52,9 @@ LLVM_TARGETS ?= "${@get_llvm_target_arch(bb, d)}"
52LLVM_TARGETS_prepend_x86 = "AMDGPU;" 52LLVM_TARGETS_prepend_x86 = "AMDGPU;"
53LLVM_TARGETS_prepend_x86-64 = "AMDGPU;" 53LLVM_TARGETS_prepend_x86-64 = "AMDGPU;"
54 54
55ARM_INSTRUCTION_SET_armv5 = "arm"
56ARM_INSTRUCTION_SET_armv4t = "arm"
57
55EXTRA_OECMAKE += "-DLLVM_ENABLE_ASSERTIONS=OFF \ 58EXTRA_OECMAKE += "-DLLVM_ENABLE_ASSERTIONS=OFF \
56 -DLLVM_ENABLE_EXPENSIVE_CHECKS=OFF \ 59 -DLLVM_ENABLE_EXPENSIVE_CHECKS=OFF \
57 -DLLVM_ENABLE_PIC=ON \ 60 -DLLVM_ENABLE_PIC=ON \