summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/llvm/llvm_git.bb
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2018-08-20 15:25:29 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-08-21 14:49:42 +0100
commite2170f22ed50a94d9969d4c29a2f9a92c3a9d67e (patch)
tree21a47febefef7f95b2ec13570c3309334629012f /meta/recipes-devtools/llvm/llvm_git.bb
parent959fcc81295cc7077824266d1af9e90aaff803bc (diff)
downloadpoky-e2170f22ed50a94d9969d4c29a2f9a92c3a9d67e.tar.gz
llvm: Enable AMDGPU backend for native/native-sdk builds too
(From OE-Core rev: 0053740c01f3ae49292a03686f2a6bad298d3af9) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/llvm/llvm_git.bb')
-rw-r--r--meta/recipes-devtools/llvm/llvm_git.bb4
1 files changed, 1 insertions, 3 deletions
diff --git a/meta/recipes-devtools/llvm/llvm_git.bb b/meta/recipes-devtools/llvm/llvm_git.bb
index df7c1dddd3..727876303d 100644
--- a/meta/recipes-devtools/llvm/llvm_git.bb
+++ b/meta/recipes-devtools/llvm/llvm_git.bb
@@ -50,9 +50,7 @@ def get_llvm_host_arch(bb, d):
50# 50#
51# Default to build all OE-Core supported target arches (user overridable). 51# Default to build all OE-Core supported target arches (user overridable).
52# 52#
53LLVM_TARGETS ?= "${@get_llvm_host_arch(bb, d)}" 53LLVM_TARGETS ?= "AMDGPU;${@get_llvm_host_arch(bb, d)}"
54LLVM_TARGETS_prepend_class-target_x86 = "AMDGPU;"
55LLVM_TARGETS_prepend_class-target_x86-64 = "AMDGPU;"
56 54
57ARM_INSTRUCTION_SET_armv5 = "arm" 55ARM_INSTRUCTION_SET_armv5 = "arm"
58ARM_INSTRUCTION_SET_armv4t = "arm" 56ARM_INSTRUCTION_SET_armv4t = "arm"