summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recipes-devtools/clang/clang_git.bb4
1 files changed, 3 insertions, 1 deletions
diff --git a/recipes-devtools/clang/clang_git.bb b/recipes-devtools/clang/clang_git.bb
index d4374f6..4f712e1 100644
--- a/recipes-devtools/clang/clang_git.bb
+++ b/recipes-devtools/clang/clang_git.bb
@@ -105,11 +105,13 @@ EXTRA_OECMAKE_append_class-target = "\
105" 105"
106EXTRA_OEMAKE += "REQUIRES_RTTI=1 VERBOSE=1" 106EXTRA_OEMAKE += "REQUIRES_RTTI=1 VERBOSE=1"
107 107
108DEPENDS = "zlib libffi libxml2 binutils" 108DEPENDS = "zlib libffi libxml2"
109DEPENDS_remove_class-nativesdk = "nativesdk-binutils nativesdk-compiler-rt nativesdk-libcxx nativesdk-llvm-unwind" 109DEPENDS_remove_class-nativesdk = "nativesdk-binutils nativesdk-compiler-rt nativesdk-libcxx nativesdk-llvm-unwind"
110DEPENDS_append_class-nativesdk = " clang-native virtual/${TARGET_PREFIX}binutils-crosssdk virtual/${TARGET_PREFIX}gcc-crosssdk virtual/${TARGET_PREFIX}g++-crosssdk" 110DEPENDS_append_class-nativesdk = " clang-native virtual/${TARGET_PREFIX}binutils-crosssdk virtual/${TARGET_PREFIX}gcc-crosssdk virtual/${TARGET_PREFIX}g++-crosssdk"
111DEPENDS_append_class-target = " clang-cross-${TARGET_ARCH} ${@bb.utils.contains('TOOLCHAIN', 'gcc', 'virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++', '', d)}" 111DEPENDS_append_class-target = " clang-cross-${TARGET_ARCH} ${@bb.utils.contains('TOOLCHAIN', 'gcc', 'virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++', '', d)}"
112 112
113RRECOMMENDS_${PN} = "binutils"
114
113do_compile_prepend_class-native () { 115do_compile_prepend_class-native () {
114 oe_runmake LLVM-tablegen-host 116 oe_runmake LLVM-tablegen-host
115 oe_runmake CLANG-tablegen-host 117 oe_runmake CLANG-tablegen-host