llvm2.9: allow parallel native make

* fix parallel build
  Doing a parallel build may result in the following:
  *** No rule to make target `native/bin/tblgen', needed by `include/llvm/Intrinsics.gen.tmp'
  Avoid this by building tblgen first before building the rest of llvm.

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Jonathan Liu
2013-05-29 03:09:30 +00:00
committed by Martin Jansa
parent b57465fc8c
commit a3ccaa1009
2 changed files with 5 additions and 2 deletions
+5
View File
@@ -103,6 +103,11 @@ FILES_${PN}-dev = " \
${libdir}/llvm${LLVM_RELEASE}/*.a \ ${libdir}/llvm${LLVM_RELEASE}/*.a \
" "
base_do_compile_prepend() {
# Avoid *** No rule to make target `native/bin/tblgen', needed by `include/llvm/Intrinsics.gen.tmp'
oe_runmake tblgen
}
do_install() { do_install() {
# Install into a private directory to be able to reorganize the files. # Install into a private directory to be able to reorganize the files.
-2
View File
@@ -15,8 +15,6 @@ ARM_INSTRUCTION_SET = "arm"
SRC_URI_append_libc-uclibc = " file://arm_fenv_uclibc.patch " SRC_URI_append_libc-uclibc = " file://arm_fenv_uclibc.patch "
PARALLEL_MAKE_virtclass-native = ""
LLVM_EXTRA_ARCH = "X86;" LLVM_EXTRA_ARCH = "X86;"
LLVM_EXTRA_ARCH_x86 = "" LLVM_EXTRA_ARCH_x86 = ""
LLVM_EXTRA_ARCH_x86-64 = "" LLVM_EXTRA_ARCH_x86-64 = ""