llvm2.9: remove X86 from LLVM_TARGETS_TO_BUILD

* when building for qemux86* it tries to build X86 twice and fails with:
  | CMake Error at lib/Target/CMakeLists.txt:24 (add_subdirectory):
  |   The binary directory
  |
  |     /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/x86_64-oe-linux/llvm2.9/2.9-r2.0/llvm-2.9/build/lib/Target/X86
  |
  |   is already used to build a source directory.  It cannot be used to build
  |   source directory
  |
  |     /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/x86_64-oe-linux/llvm2.9/2.9-r2.0/llvm-2.9/lib/Target/X86
  |
  |   Specify a unique binary directory name.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Martin Jansa
2013-04-26 19:28:52 +02:00
parent 6fb3c64545
commit 5399efdc66
+1 -1
View File
@@ -19,7 +19,7 @@ PARALLEL_MAKE_virtclass-native = ""
EXTRA_OECMAKE = "\
-DLLVM_TABLEGEN=${STAGING_BINDIR_NATIVE}/llvm${LLVM_RELEASE}/tblgen \
-DLLVM_TARGETS_TO_BUILD="X86;${LLVM_ARCH}" \
-DLLVM_TARGETS_TO_BUILD="${LLVM_ARCH}" \
-DCMAKE_LINKER:FILEPATH=${LD} \
-DCMAKE_AR:FILEPATH=${AR} \
-DCMAKE_OBJCOPY:FILEPATH=${OBJCOPY} \