diff options
author | Khem Raj <raj.khem@gmail.com> | 2017-07-29 12:48:51 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2017-07-30 07:16:20 -0700 |
commit | caf39e95fedcd346cf3a72db260e35fcb4ee343d (patch) | |
tree | 87524183c4a98d3ab34d872c3c1d1e1c00ede3fb | |
parent | a099b0da53fd6b11c6732b391f16620327756cb8 (diff) | |
download | meta-clang-caf39e95fedcd346cf3a72db260e35fcb4ee343d.tar.gz |
recipes: Use ninja generator on top of cmake
ninja is in OE-Core now
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | recipes-devtools/clang/clang_git.bb | 11 | ||||
-rw-r--r-- | recipes-devtools/clang/compiler-rt_git.bb | 12 | ||||
-rw-r--r-- | recipes-devtools/clang/libcxx_git.bb | 11 | ||||
-rw-r--r-- | recipes-devtools/clang/libcxxabi_git.bb | 11 | ||||
-rw-r--r-- | recipes-devtools/clang/lld_git.bb | 12 | ||||
-rw-r--r-- | recipes-devtools/clang/lldb_git.bb | 16 | ||||
-rw-r--r-- | recipes-devtools/clang/llvm-libunwind_git.bb | 11 | ||||
-rw-r--r-- | recipes-devtools/clang/openmp_git.bb | 12 |
8 files changed, 79 insertions, 17 deletions
diff --git a/recipes-devtools/clang/clang_git.bb b/recipes-devtools/clang/clang_git.bb index 0b1aa49..e0e9c21 100644 --- a/recipes-devtools/clang/clang_git.bb +++ b/recipes-devtools/clang/clang_git.bb | |||
@@ -72,6 +72,7 @@ EXTRA_OECMAKE="-DLLVM_ENABLE_RTTI=True \ | |||
72 | -DCMAKE_SYSTEM_NAME=Linux \ | 72 | -DCMAKE_SYSTEM_NAME=Linux \ |
73 | -DCMAKE_BUILD_TYPE=Release \ | 73 | -DCMAKE_BUILD_TYPE=Release \ |
74 | -DLLVM_BUILD_EXTERNAL_COMPILER_RT=True \ | 74 | -DLLVM_BUILD_EXTERNAL_COMPILER_RT=True \ |
75 | -G Ninja \ | ||
75 | " | 76 | " |
76 | 77 | ||
77 | EXTRA_OECMAKE_append_class-native = "\ | 78 | EXTRA_OECMAKE_append_class-native = "\ |
@@ -94,13 +95,21 @@ EXTRA_OECMAKE_append_class-target = "\ | |||
94 | " | 95 | " |
95 | EXTRA_OEMAKE += "REQUIRES_RTTI=1 VERBOSE=1" | 96 | EXTRA_OEMAKE += "REQUIRES_RTTI=1 VERBOSE=1" |
96 | 97 | ||
97 | DEPENDS = "zlib libffi libxml2" | 98 | DEPENDS = "zlib libffi libxml2 ninja-native" |
98 | DEPENDS_remove_class-nativesdk = "nativesdk-binutils nativesdk-compiler-rt nativesdk-libcxx nativesdk-llvm-unwind" | 99 | DEPENDS_remove_class-nativesdk = "nativesdk-binutils nativesdk-compiler-rt nativesdk-libcxx nativesdk-llvm-unwind" |
99 | DEPENDS_append_class-nativesdk = " clang-native virtual/${TARGET_PREFIX}binutils-crosssdk virtual/${TARGET_PREFIX}gcc-crosssdk virtual/${TARGET_PREFIX}g++-crosssdk" | 100 | DEPENDS_append_class-nativesdk = " clang-native virtual/${TARGET_PREFIX}binutils-crosssdk virtual/${TARGET_PREFIX}gcc-crosssdk virtual/${TARGET_PREFIX}g++-crosssdk" |
100 | DEPENDS_append_class-target = " clang-cross-${TARGET_ARCH} ${@bb.utils.contains('TOOLCHAIN', 'gcc', 'virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++', '', d)}" | 101 | DEPENDS_append_class-target = " clang-cross-${TARGET_ARCH} ${@bb.utils.contains('TOOLCHAIN', 'gcc', 'virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++', '', d)}" |
101 | 102 | ||
102 | RRECOMMENDS_${PN} = "binutils" | 103 | RRECOMMENDS_${PN} = "binutils" |
103 | 104 | ||
105 | do_compile() { | ||
106 | NINJA_STATUS="[%p] " ninja ${PARALLEL_MAKE} | ||
107 | } | ||
108 | |||
109 | do_install() { | ||
110 | NINJA_STATUS="[%p] " DESTDIR=${D} ninja ${PARALLEL_MAKE} install | ||
111 | } | ||
112 | |||
104 | do_install_append_class-native () { | 113 | do_install_append_class-native () { |
105 | install -Dm 0755 ${B}/bin/clang-tblgen ${D}${bindir}/clang-tblgen | 114 | install -Dm 0755 ${B}/bin/clang-tblgen ${D}${bindir}/clang-tblgen |
106 | for f in `find ${D}${bindir} -executable -type f -not -type l`; do | 115 | for f in `find ${D}${bindir} -executable -type f -not -type l`; do |
diff --git a/recipes-devtools/clang/compiler-rt_git.bb b/recipes-devtools/clang/compiler-rt_git.bb index 0cfe603..207b8e4 100644 --- a/recipes-devtools/clang/compiler-rt_git.bb +++ b/recipes-devtools/clang/compiler-rt_git.bb | |||
@@ -30,6 +30,8 @@ BASEDEPENDS_remove_toolchain-clang_class-target = "compiler-rt" | |||
30 | BASEDEPENDS_remove_toolchain-clang_class-target = "libcxx" | 30 | BASEDEPENDS_remove_toolchain-clang_class-target = "libcxx" |
31 | BASEDEPENDS_remove_toolchain-clang_class-target = "llvm-libunwind" | 31 | BASEDEPENDS_remove_toolchain-clang_class-target = "llvm-libunwind" |
32 | 32 | ||
33 | DEPENDS += "ninja-native" | ||
34 | |||
33 | S = "${WORKDIR}/git" | 35 | S = "${WORKDIR}/git" |
34 | 36 | ||
35 | inherit cmake pkgconfig pythonnative | 37 | inherit cmake pkgconfig pythonnative |
@@ -42,6 +44,7 @@ HF[vardepvalue] = "${HF}" | |||
42 | EXTRA_OECMAKE += "-DCOMPILER_RT_STANDALONE_BUILD=ON \ | 44 | EXTRA_OECMAKE += "-DCOMPILER_RT_STANDALONE_BUILD=ON \ |
43 | -DCOMPILER_RT_DEFAULT_TARGET_TRIPLE=${HOST_ARCH}${HF}${HOST_VENDOR}-${HOST_OS} \ | 45 | -DCOMPILER_RT_DEFAULT_TARGET_TRIPLE=${HOST_ARCH}${HF}${HOST_VENDOR}-${HOST_OS} \ |
44 | -DCOMPILER_RT_BUILD_XRAY=OFF \ | 46 | -DCOMPILER_RT_BUILD_XRAY=OFF \ |
47 | -G Ninja \ | ||
45 | " | 48 | " |
46 | 49 | ||
47 | EXTRA_OECMAKE_append_class-nativesdk = "\ | 50 | EXTRA_OECMAKE_append_class-nativesdk = "\ |
@@ -51,6 +54,15 @@ EXTRA_OECMAKE_append_class-nativesdk = "\ | |||
51 | 54 | ||
52 | EXTRA_OECMAKE_append_libc-musl = " -DCOMPILER_RT_BUILD_SANITIZERS=OFF -DCOMPILER_RT_BUILD_XRAY=OFF " | 55 | EXTRA_OECMAKE_append_libc-musl = " -DCOMPILER_RT_BUILD_SANITIZERS=OFF -DCOMPILER_RT_BUILD_XRAY=OFF " |
53 | 56 | ||
57 | do_compile() { | ||
58 | NINJA_STATUS="[%p] " ninja ${PARALLEL_MAKE} | ||
59 | } | ||
60 | |||
61 | do_install() { | ||
62 | NINJA_STATUS="[%p] " DESTDIR=${D} ninja ${PARALLEL_MAKE} install | ||
63 | } | ||
64 | |||
65 | |||
54 | do_install_append () { | 66 | do_install_append () { |
55 | install -d ${D}${libdir}/clang/${PV}/lib/linux | 67 | install -d ${D}${libdir}/clang/${PV}/lib/linux |
56 | if [ -d ${D}${libdir}/linux ]; then | 68 | if [ -d ${D}${libdir}/linux ]; then |
diff --git a/recipes-devtools/clang/libcxx_git.bb b/recipes-devtools/clang/libcxx_git.bb index 2cbcf62..da0d44c 100644 --- a/recipes-devtools/clang/libcxx_git.bb +++ b/recipes-devtools/clang/libcxx_git.bb | |||
@@ -12,7 +12,7 @@ require common.inc | |||
12 | inherit cmake pythonnative | 12 | inherit cmake pythonnative |
13 | PV .= "+git${SRCPV}" | 13 | PV .= "+git${SRCPV}" |
14 | 14 | ||
15 | DEPENDS += "libcxxabi" | 15 | DEPENDS += "libcxxabi ninja-native" |
16 | BASEDEPENDS_remove_toolchain-clang_class-target = "libcxx" | 16 | BASEDEPENDS_remove_toolchain-clang_class-target = "libcxx" |
17 | BASEDEPENDS_remove_toolchain-clang_class-target = "llvm-libunwind" | 17 | BASEDEPENDS_remove_toolchain-clang_class-target = "llvm-libunwind" |
18 | BASEDEPENDS_remove_toolchain-clang_class-target = "compiler-rt" | 18 | BASEDEPENDS_remove_toolchain-clang_class-target = "compiler-rt" |
@@ -41,11 +41,20 @@ EXTRA_OECMAKE += "-DLIBCXX_CXX_ABI=libcxxabi \ | |||
41 | -DLLVM_PATH=${S} \ | 41 | -DLLVM_PATH=${S} \ |
42 | -DLIBCXX_ENABLE_SHARED=ON \ | 42 | -DLIBCXX_ENABLE_SHARED=ON \ |
43 | -DLIBCXX_ENABLE_EXCEPTIONS=ON \ | 43 | -DLIBCXX_ENABLE_EXCEPTIONS=ON \ |
44 | -G Ninja \ | ||
44 | ${S}/projects/libcxx \ | 45 | ${S}/projects/libcxx \ |
45 | " | 46 | " |
46 | 47 | ||
47 | EXTRA_OECMAKE_append_libc-musl = " -DLIBCXX_HAS_MUSL_LIBC=True " | 48 | EXTRA_OECMAKE_append_libc-musl = " -DLIBCXX_HAS_MUSL_LIBC=True " |
48 | 49 | ||
50 | do_compile() { | ||
51 | NINJA_STATUS="[%p] " ninja ${PARALLEL_MAKE} | ||
52 | } | ||
53 | |||
54 | do_install() { | ||
55 | NINJA_STATUS="[%p] " DESTDIR=${D} ninja ${PARALLEL_MAKE} install | ||
56 | } | ||
57 | |||
49 | ALLOW_EMPTY_${PN} = "1" | 58 | ALLOW_EMPTY_${PN} = "1" |
50 | 59 | ||
51 | BBCLASSEXTEND = "native nativesdk" | 60 | BBCLASSEXTEND = "native nativesdk" |
diff --git a/recipes-devtools/clang/libcxxabi_git.bb b/recipes-devtools/clang/libcxxabi_git.bb index 7ca8ccb..fa10712 100644 --- a/recipes-devtools/clang/libcxxabi_git.bb +++ b/recipes-devtools/clang/libcxxabi_git.bb | |||
@@ -14,7 +14,7 @@ TOOLCHAIN = "clang" | |||
14 | inherit cmake | 14 | inherit cmake |
15 | PV .= "+git${SRCPV}" | 15 | PV .= "+git${SRCPV}" |
16 | 16 | ||
17 | DEPENDS += "compiler-rt" | 17 | DEPENDS += "compiler-rt ninja-native" |
18 | BASEDEPENDS_remove_toolchain-clang_class-target = "libcxx" | 18 | BASEDEPENDS_remove_toolchain-clang_class-target = "libcxx" |
19 | BASEDEPENDS_remove_toolchain-clang_class-target = "llvm-libunwind" | 19 | BASEDEPENDS_remove_toolchain-clang_class-target = "llvm-libunwind" |
20 | 20 | ||
@@ -43,10 +43,19 @@ EXTRA_OECMAKE += "-DLIBCXXABI_LIBCXX_PATH=${S}/projects/libcxx \ | |||
43 | -DLLVM_BUILD_EXTERNAL_COMPILER_RT=True \ | 43 | -DLLVM_BUILD_EXTERNAL_COMPILER_RT=True \ |
44 | -DCXX_SUPPORTS_CXX11=ON \ | 44 | -DCXX_SUPPORTS_CXX11=ON \ |
45 | -DLIBCXXABI_ENABLE_SHARED=ON \ | 45 | -DLIBCXXABI_ENABLE_SHARED=ON \ |
46 | -G Ninja \ | ||
46 | ${S}/projects/libcxxabi \ | 47 | ${S}/projects/libcxxabi \ |
47 | " | 48 | " |
48 | CXXFLAGS_append_libc-musl = " -D_LIBCPP_HAS_MUSL_LIBC " | 49 | CXXFLAGS_append_libc-musl = " -D_LIBCPP_HAS_MUSL_LIBC " |
49 | 50 | ||
51 | do_compile() { | ||
52 | NINJA_STATUS="[%p] " ninja ${PARALLEL_MAKE} | ||
53 | } | ||
54 | |||
55 | do_install() { | ||
56 | NINJA_STATUS="[%p] " DESTDIR=${D} ninja ${PARALLEL_MAKE} install | ||
57 | } | ||
58 | |||
50 | ALLOW_EMPTY_${PN} = "1" | 59 | ALLOW_EMPTY_${PN} = "1" |
51 | 60 | ||
52 | BBCLASSEXTEND = "native nativesdk" | 61 | BBCLASSEXTEND = "native nativesdk" |
diff --git a/recipes-devtools/clang/lld_git.bb b/recipes-devtools/clang/lld_git.bb index b9002a2..2bc2ee2 100644 --- a/recipes-devtools/clang/lld_git.bb +++ b/recipes-devtools/clang/lld_git.bb | |||
@@ -6,7 +6,7 @@ HOMEPAGE = "http://lld.llvm.org/" | |||
6 | LICENSE = "MIT | NCSA" | 6 | LICENSE = "MIT | NCSA" |
7 | SECTION = "devel" | 7 | SECTION = "devel" |
8 | 8 | ||
9 | DEPENDS += "clang-native libcxx" | 9 | DEPENDS += "clang-native libcxx ninja-native" |
10 | 10 | ||
11 | require clang.inc | 11 | require clang.inc |
12 | require common.inc | 12 | require common.inc |
@@ -32,17 +32,19 @@ S = "${WORKDIR}/git" | |||
32 | 32 | ||
33 | OECMAKE_FIND_ROOT_PATH_MODE_PROGRAM = "BOTH" | 33 | OECMAKE_FIND_ROOT_PATH_MODE_PROGRAM = "BOTH" |
34 | EXTRA_OECMAKE = "\ | 34 | EXTRA_OECMAKE = "\ |
35 | -DCMAKE_CROSSCOMPILING=1 \ | ||
35 | -DLLVM_TABLEGEN=${STAGING_BINDIR_NATIVE}/llvm-tblgen \ | 36 | -DLLVM_TABLEGEN=${STAGING_BINDIR_NATIVE}/llvm-tblgen \ |
37 | -DCMAKE_BUILD_TYPE=Release \ | ||
38 | -G Ninja \ | ||
39 | ${S} \ | ||
36 | " | 40 | " |
37 | CXXFLAGS_append_toolchain-clang = " -stdlib=libc++" | 41 | CXXFLAGS_append_toolchain-clang = " -stdlib=libc++" |
38 | 42 | ||
39 | do_compile() { | 43 | do_compile() { |
40 | cd ${B}/tools/lld | 44 | NINJA_STATUS="[%p] " ninja ${PARALLEL_MAKE} lld |
41 | base_do_compile VERBOSE=1 | ||
42 | } | 45 | } |
43 | 46 | ||
44 | do_install() { | 47 | do_install() { |
45 | cd ${B}/tools/lld | 48 | NINJA_STATUS="[%p] " DESTDIR=${D} ninja ${PARALLEL_MAKE} tools/lld/install |
46 | oe_runmake 'DESTDIR=${D}' install | ||
47 | } | 49 | } |
48 | BBCLASSEXTEND = "native nativesdk" | 50 | BBCLASSEXTEND = "native nativesdk" |
diff --git a/recipes-devtools/clang/lldb_git.bb b/recipes-devtools/clang/lldb_git.bb index 364639b..a6a1a9d 100644 --- a/recipes-devtools/clang/lldb_git.bb +++ b/recipes-devtools/clang/lldb_git.bb | |||
@@ -6,13 +6,13 @@ HOMEPAGE = "http://lldb.llvm.org/" | |||
6 | LICENSE = "MIT | NCSA" | 6 | LICENSE = "MIT | NCSA" |
7 | SECTION = "devel" | 7 | SECTION = "devel" |
8 | 8 | ||
9 | DEPENDS += "clang-native zlib libxml2" | 9 | DEPENDS += "clang-native zlib libxml2 ninja-native" |
10 | 10 | ||
11 | FILESPATH =. "${FILE_DIRNAME}/clang:" | 11 | FILESPATH =. "${FILE_DIRNAME}/clang:" |
12 | require clang.inc | 12 | require clang.inc |
13 | require common.inc | 13 | require common.inc |
14 | 14 | ||
15 | inherit cmake | 15 | inherit cmake pkgconfig |
16 | PV .= "+git${SRCPV}" | 16 | PV .= "+git${SRCPV}" |
17 | 17 | ||
18 | LIC_FILES_CHKSUM = "file://LICENSE.TXT;md5=${LLVMMD5SUM}; \ | 18 | LIC_FILES_CHKSUM = "file://LICENSE.TXT;md5=${LLVMMD5SUM}; \ |
@@ -41,6 +41,7 @@ OECMAKE_FIND_ROOT_PATH_MODE_PROGRAM = "BOTH" | |||
41 | 41 | ||
42 | EXTRA_OECMAKE="\ | 42 | EXTRA_OECMAKE="\ |
43 | -DCMAKE_CROSSCOMPILING=1 \ | 43 | -DCMAKE_CROSSCOMPILING=1 \ |
44 | -DLLVM_ENABLE_CXX11=ON \ | ||
44 | -DLLVM_BUILD_LLVM_DYLIB=ON \ | 45 | -DLLVM_BUILD_LLVM_DYLIB=ON \ |
45 | -DBUILD_SHARED_LIBS=OFF \ | 46 | -DBUILD_SHARED_LIBS=OFF \ |
46 | -DLLVM_BUILD_LLVM_DYLIB=ON \ | 47 | -DLLVM_BUILD_LLVM_DYLIB=ON \ |
@@ -51,20 +52,19 @@ EXTRA_OECMAKE="\ | |||
51 | -DLLVM_ENABLE_TERMINFO=0 \ | 52 | -DLLVM_ENABLE_TERMINFO=0 \ |
52 | -DLLVM_TABLEGEN=${STAGING_BINDIR_NATIVE}/llvm-tblgen \ | 53 | -DLLVM_TABLEGEN=${STAGING_BINDIR_NATIVE}/llvm-tblgen \ |
53 | -DCLANG_TABLEGEN=${STAGING_BINDIR_NATIVE}/clang-tblgen \ | 54 | -DCLANG_TABLEGEN=${STAGING_BINDIR_NATIVE}/clang-tblgen \ |
55 | -DCMAKE_BUILD_TYPE=Release \ | ||
56 | -G Ninja \ | ||
57 | ${S} \ | ||
54 | " | 58 | " |
55 | 59 | ||
56 | EXTRA_OEMAKE = "VERBOSE=1" | 60 | EXTRA_OEMAKE = "VERBOSE=1" |
57 | 61 | ||
58 | LDFLAGS += "-lxml2" | ||
59 | |||
60 | do_compile() { | 62 | do_compile() { |
61 | cd ${B}/tools/lldb | 63 | NINJA_STATUS="[%p] " ninja ${PARALLEL_MAKE} lldb |
62 | oe_runmake VERBOSE=1 | ||
63 | } | 64 | } |
64 | 65 | ||
65 | do_install() { | 66 | do_install() { |
66 | cd ${B}/tools/lldb | 67 | NINJA_STATUS="[%p] " DESTDIR=${D} ninja ${PARALLEL_MAKE} tools/lldb/install |
67 | oe_runmake 'DESTDIR=${D}' install | ||
68 | } | 68 | } |
69 | 69 | ||
70 | INSANE_SKIP_${PN}-dbg = "libdir" | 70 | INSANE_SKIP_${PN}-dbg = "libdir" |
diff --git a/recipes-devtools/clang/llvm-libunwind_git.bb b/recipes-devtools/clang/llvm-libunwind_git.bb index 04a4515..cfbff35 100644 --- a/recipes-devtools/clang/llvm-libunwind_git.bb +++ b/recipes-devtools/clang/llvm-libunwind_git.bb | |||
@@ -12,7 +12,7 @@ require common.inc | |||
12 | inherit cmake | 12 | inherit cmake |
13 | PV .= "+git${SRCPV}" | 13 | PV .= "+git${SRCPV}" |
14 | 14 | ||
15 | DEPENDS += "libcxx" | 15 | DEPENDS += "libcxx ninja-native" |
16 | BASEDEPENDS_remove_toolchain-clang_class-target = "llvm-libunwind" | 16 | BASEDEPENDS_remove_toolchain-clang_class-target = "llvm-libunwind" |
17 | BASEDEPENDS_remove_toolchain-clang_class-target = "compiler-rt" | 17 | BASEDEPENDS_remove_toolchain-clang_class-target = "compiler-rt" |
18 | PROVIDES += "libunwind" | 18 | PROVIDES += "libunwind" |
@@ -48,12 +48,21 @@ EXTRA_OECMAKE += "-DLIBCXXABI_LIBCXX_PATH=${S}/projects/libcxxabi \ | |||
48 | -DLLVM_BUILD_EXTERNAL_COMPILER_RT=True \ | 48 | -DLLVM_BUILD_EXTERNAL_COMPILER_RT=True \ |
49 | -DLIBUNWIND_ENABLE_SHARED=ON \ | 49 | -DLIBUNWIND_ENABLE_SHARED=ON \ |
50 | -DUNIX=True \ | 50 | -DUNIX=True \ |
51 | -G Ninja \ | ||
51 | ${S}/projects/libunwind \ | 52 | ${S}/projects/libunwind \ |
52 | " | 53 | " |
53 | do_configure_prepend () { | 54 | do_configure_prepend () { |
54 | (cd ${S}/projects/libunwind/include && ln -sf ../../libcxxabi/include/__cxxabi_config.h) | 55 | (cd ${S}/projects/libunwind/include && ln -sf ../../libcxxabi/include/__cxxabi_config.h) |
55 | } | 56 | } |
56 | 57 | ||
58 | do_compile() { | ||
59 | NINJA_STATUS="[%p] " ninja ${PARALLEL_MAKE} | ||
60 | } | ||
61 | |||
62 | do_install() { | ||
63 | NINJA_STATUS="[%p] " DESTDIR=${D} ninja ${PARALLEL_MAKE} install | ||
64 | } | ||
65 | |||
57 | ALLOW_EMPTY_${PN} = "1" | 66 | ALLOW_EMPTY_${PN} = "1" |
58 | 67 | ||
59 | RPROVIDES_${PN} = "libunwind" | 68 | RPROVIDES_${PN} = "libunwind" |
diff --git a/recipes-devtools/clang/openmp_git.bb b/recipes-devtools/clang/openmp_git.bb index d7e0875..8ca9f32 100644 --- a/recipes-devtools/clang/openmp_git.bb +++ b/recipes-devtools/clang/openmp_git.bb | |||
@@ -8,6 +8,8 @@ SECTION = "base" | |||
8 | 8 | ||
9 | require clang.inc | 9 | require clang.inc |
10 | 10 | ||
11 | DEPENDS += "ninja-native" | ||
12 | |||
11 | TOOLCHAIN = "clang" | 13 | TOOLCHAIN = "clang" |
12 | 14 | ||
13 | PV .= "+git${SRCPV}" | 15 | PV .= "+git${SRCPV}" |
@@ -28,8 +30,18 @@ S = "${WORKDIR}/git/runtime" | |||
28 | 30 | ||
29 | inherit cmake pkgconfig perlnative | 31 | inherit cmake pkgconfig perlnative |
30 | 32 | ||
33 | EXTRA_OECMAKE = "-G Ninja" | ||
34 | |||
31 | THUMB_TUNE_CCARGS = "" | 35 | THUMB_TUNE_CCARGS = "" |
32 | 36 | ||
37 | do_compile() { | ||
38 | NINJA_STATUS="[%p] " ninja ${PARALLEL_MAKE} | ||
39 | } | ||
40 | |||
41 | do_install() { | ||
42 | NINJA_STATUS="[%p] " DESTDIR=${D} ninja ${PARALLEL_MAKE} install | ||
43 | } | ||
44 | |||
33 | FILES_SOLIBSDEV = "" | 45 | FILES_SOLIBSDEV = "" |
34 | FILES_${PN} += "${libdir}/lib*${SOLIBSDEV}" | 46 | FILES_${PN} += "${libdir}/lib*${SOLIBSDEV}" |
35 | INSANE_SKIP_${PN} = "dev-so" | 47 | INSANE_SKIP_${PN} = "dev-so" |