diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2020-12-26 10:27:04 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-12-30 14:01:06 +0000 |
commit | 811d6ecce3cafd2651da208c6644589ac9d6bac1 (patch) | |
tree | 4b8615a0dd7f38de56495e888f2c67b993da9312 /meta/recipes-devtools/ninja/ninja_1.10.2.bb | |
parent | 095bfb453b41ce70785721d7973aa77933171684 (diff) | |
download | poky-811d6ecce3cafd2651da208c6644589ac9d6bac1.tar.gz |
ninja: upgrade 1.10.1 -> 1.10.2
(From OE-Core rev: e42798d41e8ee529de3c3d5a98dc64f6a0af67ce)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/ninja/ninja_1.10.2.bb')
-rw-r--r-- | meta/recipes-devtools/ninja/ninja_1.10.2.bb | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/meta/recipes-devtools/ninja/ninja_1.10.2.bb b/meta/recipes-devtools/ninja/ninja_1.10.2.bb new file mode 100644 index 0000000000..88ff843409 --- /dev/null +++ b/meta/recipes-devtools/ninja/ninja_1.10.2.bb | |||
@@ -0,0 +1,30 @@ | |||
1 | SUMMARY = "Ninja is a small build system with a focus on speed." | ||
2 | HOMEPAGE = "https://ninja-build.org/" | ||
3 | LICENSE = "Apache-2.0" | ||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=a81586a64ad4e476c791cda7e2f2c52e" | ||
5 | |||
6 | DEPENDS = "re2c-native ninja-native" | ||
7 | |||
8 | SRCREV = "e72d1d581c945c158ed68d9bc48911063022a2c6" | ||
9 | |||
10 | SRC_URI = "git://github.com/ninja-build/ninja.git;branch=release" | ||
11 | UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>.*)" | ||
12 | |||
13 | S = "${WORKDIR}/git" | ||
14 | |||
15 | do_configure[noexec] = "1" | ||
16 | |||
17 | do_compile_class-native() { | ||
18 | python3 ./configure.py --bootstrap | ||
19 | } | ||
20 | |||
21 | do_compile() { | ||
22 | python3 ./configure.py | ||
23 | ninja | ||
24 | } | ||
25 | |||
26 | do_install() { | ||
27 | install -D -m 0755 ${S}/ninja ${D}${bindir}/ninja | ||
28 | } | ||
29 | |||
30 | BBCLASSEXTEND = "native nativesdk" | ||