diff options
Diffstat (limited to 'recipes-devtools')
-rw-r--r-- | recipes-devtools/clang/lld_git.bb | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/recipes-devtools/clang/lld_git.bb b/recipes-devtools/clang/lld_git.bb deleted file mode 100644 index 01a8d5e..0000000 --- a/recipes-devtools/clang/lld_git.bb +++ /dev/null | |||
@@ -1,52 +0,0 @@ | |||
1 | # Copyright (C) 2017 Khem Raj <raj.khem@gmail.com> | ||
2 | # Released under the MIT license (see COPYING.MIT for the terms) | ||
3 | |||
4 | DESCRIPTION = "LLD is a linker from the LLVM project" | ||
5 | HOMEPAGE = "http://lld.llvm.org/" | ||
6 | LICENSE = "MIT | NCSA" | ||
7 | SECTION = "devel" | ||
8 | |||
9 | DEPENDS += "clang-native libxml2 ninja-native" | ||
10 | DEPENDS_append_class-target = " libcxx" | ||
11 | |||
12 | require clang.inc | ||
13 | require common.inc | ||
14 | |||
15 | FILESPATH =. "${FILE_DIRNAME}/clang:" | ||
16 | |||
17 | inherit cmake | ||
18 | PV .= "+git${SRCPV}" | ||
19 | |||
20 | LIC_FILES_CHKSUM = "file://LICENSE.TXT;md5=${LLVMMD5SUM}; \ | ||
21 | file://tools/lld/LICENSE.TXT;md5=${LLDMD5SUM}; \ | ||
22 | " | ||
23 | |||
24 | SRC_URI = "\ | ||
25 | ${LLVM_GIT}/llvm.git;protocol=${LLVM_GIT_PROTOCOL};branch=${BRANCH};name=llvm \ | ||
26 | ${LLVM_GIT}/lld.git;protocol=${LLVM_GIT_PROTOCOL};branch=${BRANCH};destsuffix=git/tools/lld;name=lld \ | ||
27 | ${LLVMPATCHES} \ | ||
28 | " | ||
29 | |||
30 | SRCREV_FORMAT = "llvm_lld" | ||
31 | |||
32 | S = "${WORKDIR}/git" | ||
33 | |||
34 | OECMAKE_FIND_ROOT_PATH_MODE_PROGRAM = "BOTH" | ||
35 | EXTRA_OECMAKE = "\ | ||
36 | -DCMAKE_CROSSCOMPILING=1 \ | ||
37 | -DLLVM_TABLEGEN=${STAGING_BINDIR_NATIVE}/llvm-tblgen \ | ||
38 | -DCMAKE_BUILD_TYPE=Release \ | ||
39 | -G Ninja \ | ||
40 | ${S} \ | ||
41 | " | ||
42 | CXXFLAGS_append_class-target_toolchain-clang = " -stdlib=libc++" | ||
43 | |||
44 | do_compile() { | ||
45 | ninja ${PARALLEL_MAKE} lld | ||
46 | } | ||
47 | |||
48 | do_install() { | ||
49 | DESTDIR=${D} ninja ${PARALLEL_MAKE} tools/lld/install | ||
50 | } | ||
51 | |||
52 | BBCLASSEXTEND = "native nativesdk" | ||