From 734c2109d7352939198bc4cbcb24dd27619e99a6 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 4 Apr 2016 03:11:39 +0000 Subject: 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 --- .../packagegroups/packagegroup-core-standalone-sdk-target.bbappend | 5 +++++ recipes-devtools/clang/libcxx_git.bb | 2 ++ recipes-devtools/clang/libcxxabi_git.bb | 2 ++ recipes-devtools/clang/llvm-libunwind_git.bb | 2 ++ 4 files changed, 11 insertions(+) create mode 100644 recipes-core/packagegroups/packagegroup-core-standalone-sdk-target.bbappend 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 @@ +RDEPENDS_${PN} += "\ + libcxx-dev \ + compiler-rt-dev \ + llvm-libunwind-dev \ +" 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 \ EXTRA_OECMAKE_append_libc-musl = " -DLIBCXX_HAS_MUSL_LIBC=True " +ALLOW_EMPTY_${PN} = "1" + 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 \ " CXXFLAGS_append_libc-musl = " -D_LIBCPP_HAS_MUSL_LIBC " +ALLOW_EMPTY_${PN} = "1" + 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 () { (cd ${S}/include && ln -sf ../../libcxxabi/include/__cxxabi_config.h) } +ALLOW_EMPTY_${PN} = "1" + RPROVIDES_${PN} = "libunwind" BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf