diff options
author | Khem Raj <raj.khem@gmail.com> | 2016-04-04 03:11:39 +0000 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2016-04-04 03:11:39 +0000 |
commit | 734c2109d7352939198bc4cbcb24dd27619e99a6 (patch) | |
tree | 4834f9f105338e3ab89421a92a4b8f1831baeb25 | |
parent | b79b1b67263abcaddfd0e3f76058f1b82d9bb846 (diff) | |
download | meta-clang-734c2109d7352939198bc4cbcb24dd27619e99a6.tar.gz |
packagegroup-core-standalone-sdk-target: Add clang runtime libs
ALLOW_EMPTY is added so packaging can succeed
the files are all static libs
Signed-off-by: Khem Raj <raj.khem@gmail.com>
4 files changed, 11 insertions, 0 deletions
diff --git a/recipes-core/packagegroups/packagegroup-core-standalone-sdk-target.bbappend b/recipes-core/packagegroups/packagegroup-core-standalone-sdk-target.bbappend new file mode 100644 index 0000000..bee997a --- /dev/null +++ b/recipes-core/packagegroups/packagegroup-core-standalone-sdk-target.bbappend | |||
@@ -0,0 +1,5 @@ | |||
1 | RDEPENDS_${PN} += "\ | ||
2 | libcxx-dev \ | ||
3 | compiler-rt-dev \ | ||
4 | llvm-libunwind-dev \ | ||
5 | " | ||
diff --git a/recipes-devtools/clang/libcxx_git.bb b/recipes-devtools/clang/libcxx_git.bb index c7b6ad9..39013bb 100644 --- a/recipes-devtools/clang/libcxx_git.bb +++ b/recipes-devtools/clang/libcxx_git.bb | |||
@@ -40,4 +40,6 @@ EXTRA_OECMAKE += "-DLIBCXX_CXX_ABI=libcxxabi \ | |||
40 | 40 | ||
41 | EXTRA_OECMAKE_append_libc-musl = " -DLIBCXX_HAS_MUSL_LIBC=True " | 41 | EXTRA_OECMAKE_append_libc-musl = " -DLIBCXX_HAS_MUSL_LIBC=True " |
42 | 42 | ||
43 | ALLOW_EMPTY_${PN} = "1" | ||
44 | |||
43 | BBCLASSEXTEND = "native nativesdk" | 45 | BBCLASSEXTEND = "native nativesdk" |
diff --git a/recipes-devtools/clang/libcxxabi_git.bb b/recipes-devtools/clang/libcxxabi_git.bb index 9353ee2..6c647e0 100644 --- a/recipes-devtools/clang/libcxxabi_git.bb +++ b/recipes-devtools/clang/libcxxabi_git.bb | |||
@@ -40,4 +40,6 @@ EXTRA_OECMAKE += "-DLIBCXXABI_LIBCXX_PATH=${S}/../libcxx \ | |||
40 | " | 40 | " |
41 | CXXFLAGS_append_libc-musl = " -D_LIBCPP_HAS_MUSL_LIBC " | 41 | CXXFLAGS_append_libc-musl = " -D_LIBCPP_HAS_MUSL_LIBC " |
42 | 42 | ||
43 | ALLOW_EMPTY_${PN} = "1" | ||
44 | |||
43 | BBCLASSEXTEND = "native nativesdk" | 45 | BBCLASSEXTEND = "native nativesdk" |
diff --git a/recipes-devtools/clang/llvm-libunwind_git.bb b/recipes-devtools/clang/llvm-libunwind_git.bb index a32ccd0..6736e6c 100644 --- a/recipes-devtools/clang/llvm-libunwind_git.bb +++ b/recipes-devtools/clang/llvm-libunwind_git.bb | |||
@@ -46,6 +46,8 @@ do_configure_prepend () { | |||
46 | (cd ${S}/include && ln -sf ../../libcxxabi/include/__cxxabi_config.h) | 46 | (cd ${S}/include && ln -sf ../../libcxxabi/include/__cxxabi_config.h) |
47 | } | 47 | } |
48 | 48 | ||
49 | ALLOW_EMPTY_${PN} = "1" | ||
50 | |||
49 | RPROVIDES_${PN} = "libunwind" | 51 | RPROVIDES_${PN} = "libunwind" |
50 | 52 | ||
51 | BBCLASSEXTEND = "native nativesdk" | 53 | BBCLASSEXTEND = "native nativesdk" |