summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2016-04-04 03:11:39 +0000
committerKhem Raj <raj.khem@gmail.com>2016-04-04 03:11:39 +0000
commit734c2109d7352939198bc4cbcb24dd27619e99a6 (patch)
tree4834f9f105338e3ab89421a92a4b8f1831baeb25
parentb79b1b67263abcaddfd0e3f76058f1b82d9bb846 (diff)
downloadmeta-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>
-rw-r--r--recipes-core/packagegroups/packagegroup-core-standalone-sdk-target.bbappend5
-rw-r--r--recipes-devtools/clang/libcxx_git.bb2
-rw-r--r--recipes-devtools/clang/libcxxabi_git.bb2
-rw-r--r--recipes-devtools/clang/llvm-libunwind_git.bb2
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 @@
1RDEPENDS_${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
41EXTRA_OECMAKE_append_libc-musl = " -DLIBCXX_HAS_MUSL_LIBC=True " 41EXTRA_OECMAKE_append_libc-musl = " -DLIBCXX_HAS_MUSL_LIBC=True "
42 42
43ALLOW_EMPTY_${PN} = "1"
44
43BBCLASSEXTEND = "native nativesdk" 45BBCLASSEXTEND = "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"
41CXXFLAGS_append_libc-musl = " -D_LIBCPP_HAS_MUSL_LIBC " 41CXXFLAGS_append_libc-musl = " -D_LIBCPP_HAS_MUSL_LIBC "
42 42
43ALLOW_EMPTY_${PN} = "1"
44
43BBCLASSEXTEND = "native nativesdk" 45BBCLASSEXTEND = "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
49ALLOW_EMPTY_${PN} = "1"
50
49RPROVIDES_${PN} = "libunwind" 51RPROVIDES_${PN} = "libunwind"
50 52
51BBCLASSEXTEND = "native nativesdk" 53BBCLASSEXTEND = "native nativesdk"