diff options
Diffstat (limited to 'recipes-devtools/clang/compiler-rt_git.bb')
-rw-r--r-- | recipes-devtools/clang/compiler-rt_git.bb | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/recipes-devtools/clang/compiler-rt_git.bb b/recipes-devtools/clang/compiler-rt_git.bb index e59a65d..3c72ae4 100644 --- a/recipes-devtools/clang/compiler-rt_git.bb +++ b/recipes-devtools/clang/compiler-rt_git.bb | |||
@@ -28,10 +28,11 @@ THUMB_TUNE_CCARGS = "" | |||
28 | 28 | ||
29 | HF = "${@ bb.utils.contains('TUNE_CCARGS_MFLOAT', 'hard', 'hf', '', d)}" | 29 | HF = "${@ bb.utils.contains('TUNE_CCARGS_MFLOAT', 'hard', 'hf', '', d)}" |
30 | HF[vardepvalue] = "${HF}" | 30 | HF[vardepvalue] = "${HF}" |
31 | EXTRA_OECMAKE += "-DCOMPILER_RT_STANDALONE_BUILD=ON \ | 31 | EXTRA_OECMAKE += "-DCOMPILER_RT_STANDALONE_BUILD=OFF \ |
32 | -DCOMPILER_RT_DEFAULT_TARGET_TRIPLE=${HOST_ARCH}${HF}${HOST_VENDOR}-${HOST_OS} \ | 32 | -DCOMPILER_RT_DEFAULT_TARGET_TRIPLE=${HOST_ARCH}${HF}${HOST_VENDOR}-${HOST_OS} \ |
33 | -DCOMPILER_RT_BUILD_XRAY=OFF \ | 33 | -DCOMPILER_RT_BUILD_XRAY=OFF \ |
34 | -G Ninja ${S}/compiler-rt \ | 34 | -DLLVM_ENABLE_PROJECTS='compiler-rt' \ |
35 | -G Ninja ${S}/llvm \ | ||
35 | " | 36 | " |
36 | 37 | ||
37 | EXTRA_OECMAKE_append_class-nativesdk = "\ | 38 | EXTRA_OECMAKE_append_class-nativesdk = "\ |
@@ -43,11 +44,11 @@ EXTRA_OECMAKE_append_libc-musl = " -DCOMPILER_RT_BUILD_SANITIZERS=OFF -DCOMPILER | |||
43 | EXTRA_OECMAKE_append_mipsarch = "-DCOMPILER_RT_BUILD_SANITIZERS=OFF -DCOMPILER_RT_BUILD_XRAY=OFF " | 44 | EXTRA_OECMAKE_append_mipsarch = "-DCOMPILER_RT_BUILD_SANITIZERS=OFF -DCOMPILER_RT_BUILD_XRAY=OFF " |
44 | 45 | ||
45 | do_compile() { | 46 | do_compile() { |
46 | ninja ${PARALLEL_MAKE} | 47 | ninja ${PARALLEL_MAKE} compiler-rt |
47 | } | 48 | } |
48 | 49 | ||
49 | do_install() { | 50 | do_install() { |
50 | DESTDIR=${D} ninja ${PARALLEL_MAKE} install | 51 | DESTDIR=${D} ninja ${PARALLEL_MAKE} install-compiler-rt |
51 | } | 52 | } |
52 | 53 | ||
53 | 54 | ||
@@ -69,7 +70,8 @@ do_install_append () { | |||
69 | 70 | ||
70 | FILES_SOLIBSDEV = "" | 71 | FILES_SOLIBSDEV = "" |
71 | FILES_${PN} += "${libdir}/clang/${MAJOR_VER}.${MINOR_VER}.${PATCH_VER}/lib/linux/lib*${SOLIBSDEV} \ | 72 | FILES_${PN} += "${libdir}/clang/${MAJOR_VER}.${MINOR_VER}.${PATCH_VER}/lib/linux/lib*${SOLIBSDEV} \ |
72 | ${libdir}/clang/${MAJOR_VER}.${MINOR_VER}.${PATCH_VER}/*.txt" | 73 | ${libdir}/clang/${MAJOR_VER}.${MINOR_VER}.${PATCH_VER}/*.txt \ |
74 | ${libdir}/clang/${MAJOR_VER}.${MINOR_VER}.${PATCH_VER}/share/*.txt" | ||
73 | FILES_${PN}-staticdev += "${libdir}/clang/${MAJOR_VER}.${MINOR_VER}.${PATCH_VER}/lib/linux/*.a" | 75 | FILES_${PN}-staticdev += "${libdir}/clang/${MAJOR_VER}.${MINOR_VER}.${PATCH_VER}/lib/linux/*.a" |
74 | FILES_${PN}-dev += "${datadir} ${libdir}/clang/${MAJOR_VER}.${MINOR_VER}.${PATCH_VER}/lib/linux/*.syms" | 76 | FILES_${PN}-dev += "${datadir} ${libdir}/clang/${MAJOR_VER}.${MINOR_VER}.${PATCH_VER}/lib/linux/*.syms" |
75 | INSANE_SKIP_${PN} = "dev-so" | 77 | INSANE_SKIP_${PN} = "dev-so" |