diff options
| -rw-r--r-- | recipes-core/packagegroups/packagegroup-core-standalone-sdk-target.bbappend | 2 | ||||
| -rw-r--r-- | recipes-devtools/clang/compiler-rt_git.bb | 2 | ||||
| -rw-r--r-- | recipes-devtools/clang/libcxx_git.bb | 4 | ||||
| -rw-r--r-- | recipes-devtools/clang/libcxxabi_git.bb | 5 | ||||
| -rw-r--r-- | recipes-devtools/clang/llvm-libunwind_git.bb | 4 |
5 files changed, 9 insertions, 8 deletions
diff --git a/recipes-core/packagegroups/packagegroup-core-standalone-sdk-target.bbappend b/recipes-core/packagegroups/packagegroup-core-standalone-sdk-target.bbappend index bee997a..c8c436d 100644 --- a/recipes-core/packagegroups/packagegroup-core-standalone-sdk-target.bbappend +++ b/recipes-core/packagegroups/packagegroup-core-standalone-sdk-target.bbappend | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | RDEPENDS_${PN} += "\ | 1 | RDEPENDS_${PN} += "\ |
| 2 | libcxx-dev \ | 2 | libcxx-dev \ |
| 3 | libcxxabi-dev \ | ||
| 3 | compiler-rt-dev \ | 4 | compiler-rt-dev \ |
| 5 | compiler-rt-staticdev \ | ||
| 4 | llvm-libunwind-dev \ | 6 | llvm-libunwind-dev \ |
| 5 | " | 7 | " |
diff --git a/recipes-devtools/clang/compiler-rt_git.bb b/recipes-devtools/clang/compiler-rt_git.bb index 17229b1..c796224 100644 --- a/recipes-devtools/clang/compiler-rt_git.bb +++ b/recipes-devtools/clang/compiler-rt_git.bb | |||
| @@ -27,7 +27,7 @@ S = "${WORKDIR}/git" | |||
| 27 | inherit cmake pkgconfig pythonnative | 27 | inherit cmake pkgconfig pythonnative |
| 28 | 28 | ||
| 29 | THUMB_TUNE_CCARGS = "" | 29 | THUMB_TUNE_CCARGS = "" |
| 30 | TUNE_CCARGS += "-nostdlib" | 30 | #TUNE_CCARGS += "-nostdlib" |
| 31 | 31 | ||
| 32 | EXTRA_OECMAKE += "-DLLVM_BUILD_EXTERNAL_COMPILER_RT=ON \ | 32 | EXTRA_OECMAKE += "-DLLVM_BUILD_EXTERNAL_COMPILER_RT=ON \ |
| 33 | -DCOMPILER_RT_BUILD_SANITIZERS=ON \ | 33 | -DCOMPILER_RT_BUILD_SANITIZERS=ON \ |
diff --git a/recipes-devtools/clang/libcxx_git.bb b/recipes-devtools/clang/libcxx_git.bb index 39013bb..3ebb062 100644 --- a/recipes-devtools/clang/libcxx_git.bb +++ b/recipes-devtools/clang/libcxx_git.bb | |||
| @@ -30,12 +30,12 @@ SRCREV_FORMAT = "llvm_libcxx_libcxxabi" | |||
| 30 | S = "${WORKDIR}/git/projects/libcxx" | 30 | S = "${WORKDIR}/git/projects/libcxx" |
| 31 | 31 | ||
| 32 | THUMB_TUNE_CCARGS = "" | 32 | THUMB_TUNE_CCARGS = "" |
| 33 | TUNE_CCARGS += "-nostdlib" | 33 | #TUNE_CCARGS += "-nostdlib" |
| 34 | 34 | ||
| 35 | EXTRA_OECMAKE += "-DLIBCXX_CXX_ABI=libcxxabi \ | 35 | EXTRA_OECMAKE += "-DLIBCXX_CXX_ABI=libcxxabi \ |
| 36 | -DLIBCXX_CXX_ABI_INCLUDE_PATHS=${S}/../libcxxabi/include \ | 36 | -DLIBCXX_CXX_ABI_INCLUDE_PATHS=${S}/../libcxxabi/include \ |
| 37 | -DLLVM_PATH=${S}/../../ \ | 37 | -DLLVM_PATH=${S}/../../ \ |
| 38 | -DLIBCXX_ENABLE_SHARED=False \ | 38 | -DLIBCXX_ENABLE_SHARED=ON \ |
| 39 | " | 39 | " |
| 40 | 40 | ||
| 41 | EXTRA_OECMAKE_append_libc-musl = " -DLIBCXX_HAS_MUSL_LIBC=True " | 41 | EXTRA_OECMAKE_append_libc-musl = " -DLIBCXX_HAS_MUSL_LIBC=True " |
diff --git a/recipes-devtools/clang/libcxxabi_git.bb b/recipes-devtools/clang/libcxxabi_git.bb index 6c647e0..1e61675 100644 --- a/recipes-devtools/clang/libcxxabi_git.bb +++ b/recipes-devtools/clang/libcxxabi_git.bb | |||
| @@ -29,14 +29,13 @@ SRCREV_FORMAT = "llvm_libcxx_libcxxabi" | |||
| 29 | S = "${WORKDIR}/git/projects/libcxxabi" | 29 | S = "${WORKDIR}/git/projects/libcxxabi" |
| 30 | 30 | ||
| 31 | THUMB_TUNE_CCARGS = "" | 31 | THUMB_TUNE_CCARGS = "" |
| 32 | #TUNE_CCARGS += "-ffreestanding -nostdlib" | 32 | #TUNE_CCARGS += "-nostdlib" |
| 33 | TUNE_CCARGS += "-nostdlib" | ||
| 34 | EXTRA_OECMAKE += "-DLIBCXXABI_LIBCXX_PATH=${S}/../libcxx \ | 33 | EXTRA_OECMAKE += "-DLIBCXXABI_LIBCXX_PATH=${S}/../libcxx \ |
| 35 | -DLLVM_PATH=${S}/../../ \ | 34 | -DLLVM_PATH=${S}/../../ \ |
| 36 | -DLLVM_ENABLE_LIBCXX=True \ | 35 | -DLLVM_ENABLE_LIBCXX=True \ |
| 37 | -DLIBCXXABI_LIBCXX_INCLUDES=${S}/../libcxx/include \ | 36 | -DLIBCXXABI_LIBCXX_INCLUDES=${S}/../libcxx/include \ |
| 38 | -DLLVM_BUILD_EXTERNAL_COMPILER_RT=True \ | 37 | -DLLVM_BUILD_EXTERNAL_COMPILER_RT=True \ |
| 39 | -DLIBCXXABI_ENABLE_SHARED=False \ | 38 | -DLIBCXXABI_ENABLE_SHARED=ON \ |
| 40 | " | 39 | " |
| 41 | CXXFLAGS_append_libc-musl = " -D_LIBCPP_HAS_MUSL_LIBC " | 40 | CXXFLAGS_append_libc-musl = " -D_LIBCPP_HAS_MUSL_LIBC " |
| 42 | 41 | ||
diff --git a/recipes-devtools/clang/llvm-libunwind_git.bb b/recipes-devtools/clang/llvm-libunwind_git.bb index 6736e6c..51bdb06 100644 --- a/recipes-devtools/clang/llvm-libunwind_git.bb +++ b/recipes-devtools/clang/llvm-libunwind_git.bb | |||
| @@ -32,14 +32,14 @@ SRCREV_FORMAT = "llvm_libcxx_libcxxabi_libunwind" | |||
| 32 | S = "${WORKDIR}/git/projects/libunwind" | 32 | S = "${WORKDIR}/git/projects/libunwind" |
| 33 | 33 | ||
| 34 | THUMB_TUNE_CCARGS = "" | 34 | THUMB_TUNE_CCARGS = "" |
| 35 | TUNE_CCARGS += "-nostdlib" | 35 | #TUNE_CCARGS += "-nostdlib" |
| 36 | 36 | ||
| 37 | EXTRA_OECMAKE += "-DLIBCXXABI_LIBCXX_PATH=${S}/../libcxxabi \ | 37 | EXTRA_OECMAKE += "-DLIBCXXABI_LIBCXX_PATH=${S}/../libcxxabi \ |
| 38 | -DLLVM_PATH=${S}/../../ \ | 38 | -DLLVM_PATH=${S}/../../ \ |
| 39 | -DLLVM_ENABLE_LIBCXX=True \ | 39 | -DLLVM_ENABLE_LIBCXX=True \ |
| 40 | -DLLVM_ENABLE_LIBCXXABI=True \ | 40 | -DLLVM_ENABLE_LIBCXXABI=True \ |
| 41 | -DLLVM_BUILD_EXTERNAL_COMPILER_RT=True \ | 41 | -DLLVM_BUILD_EXTERNAL_COMPILER_RT=True \ |
| 42 | -DLIBCXXABI_ENABLE_SHARED=False \ | 42 | -DLIBUNWIND_ENABLE_SHARED=ON \ |
| 43 | -DUNIX=True \ | 43 | -DUNIX=True \ |
| 44 | " | 44 | " |
| 45 | do_configure_prepend () { | 45 | do_configure_prepend () { |
