diff options
Diffstat (limited to 'recipes-devtools/clang/libcxxabi_git.bb')
| -rw-r--r-- | recipes-devtools/clang/libcxxabi_git.bb | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/recipes-devtools/clang/libcxxabi_git.bb b/recipes-devtools/clang/libcxxabi_git.bb new file mode 100644 index 0000000..5194620 --- /dev/null +++ b/recipes-devtools/clang/libcxxabi_git.bb | |||
| @@ -0,0 +1,39 @@ | |||
| 1 | # Copyright (C) 2015 Khem Raj <raj.khem@gmail.com> | ||
| 2 | # Released under the MIT license (see COPYING.MIT for the terms) | ||
| 3 | |||
| 4 | DESCRIPTION = "libc++ is a new implementation of the C++ standard library, targeting C++11" | ||
| 5 | HOMEPAGE = "http://libcxx.llvm.org/" | ||
| 6 | LICENSE = "MIT & UIUC" | ||
| 7 | SECTION = "base" | ||
| 8 | INHIBIT_DEFAULT_DEPS = "1" | ||
| 9 | |||
| 10 | DEPENDS += "clang-cross-${TRANSLATED_TARGET_ARCH}" | ||
| 11 | |||
| 12 | require clang.inc | ||
| 13 | |||
| 14 | inherit cmake | ||
| 15 | |||
| 16 | BRANCH ?= "release_37" | ||
| 17 | |||
| 18 | DEPENDS += "compiler-rt" | ||
| 19 | LIC_FILES_CHKSUM = "file://LICENSE.TXT;md5=9041c9f38eb0f718f408e28ce138bb9a; \ | ||
| 20 | " | ||
| 21 | SRC_URI = "\ | ||
| 22 | git://github.com/llvm-mirror/llvm.git;branch=${BRANCH};name=llvm \ | ||
| 23 | git://github.com/llvm-mirror/libcxx.git;branch=${BRANCH};name=libcxx;destsuffix=git/projects/libcxx \ | ||
| 24 | git://github.com/llvm-mirror/libcxxabi.git;branch=${BRANCH};name=libcxxabi;destsuffix=git/projects/libcxxabi \ | ||
| 25 | " | ||
| 26 | |||
| 27 | SRCREV_libcxxabi = "8f53d45e9ac7d3c078ab3fe8f91c40a4cc6b579a" | ||
| 28 | SRCREV_libcxx = "de80a7d886d75188de210eb4d6f0768fdc4d4d0b" | ||
| 29 | SRCREV_llvm = "937d48bea8f01b02d5f3db05a9e58dfb976e9d3b" | ||
| 30 | |||
| 31 | SRCREV_FORMAT = "llvm_libcxx_libcxxabi" | ||
| 32 | |||
| 33 | S = "${WORKDIR}/git/projects/libcxxabi" | ||
| 34 | |||
| 35 | THUMB_TUNE_CCARGS = " -ffreestanding -nostdlib -nostdinc++ -nobuiltininc" | ||
| 36 | |||
| 37 | EXTRA_OECMAKE += "-DLIBCXXABI_LIBCXX_PATH=${S}/../libcxx -DLLVM_PATH=${S}/../../ -DLIBCXXABI_LIBCXX_INCLUDES=${S}/../libcxx/include" | ||
| 38 | |||
| 39 | BBCLASSEXTEND = "native nativesdk" | ||
