From: Khem Raj Date: Mon, 20 Aug 2018 22:25:29 +0000 (-0700) Subject: llvm: Enable AMDGPU backend for native/native-sdk builds too X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~16947 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0053740c01f3ae49292a03686f2a6bad298d3af9;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git llvm: Enable AMDGPU backend for native/native-sdk builds too Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/llvm/llvm_git.bb b/meta/recipes-devtools/llvm/llvm_git.bb index df7c1dddd39..727876303d6 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): # # Default to build all OE-Core supported target arches (user overridable). # -LLVM_TARGETS ?= "${@get_llvm_host_arch(bb, d)}" -LLVM_TARGETS_prepend_class-target_x86 = "AMDGPU;" -LLVM_TARGETS_prepend_class-target_x86-64 = "AMDGPU;" +LLVM_TARGETS ?= "AMDGPU;${@get_llvm_host_arch(bb, d)}" ARM_INSTRUCTION_SET_armv5 = "arm" ARM_INSTRUCTION_SET_armv4t = "arm"