diff options
author | Martin Kelly <mkelly@xevo.com> | 2018-06-04 16:06:02 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-06-07 08:52:55 +0100 |
commit | e14171cc594e8c3dfee8119847c26e10b15bacf4 (patch) | |
tree | f29803be476eac841f621f140a63d3de5b5b8697 /meta/recipes-devtools/meson/meson_0.46.1.bb | |
parent | 2a73be1b0e5adecd29e3dfb3f987d6bc761bc8f3 (diff) | |
download | poky-e14171cc594e8c3dfee8119847c26e10b15bacf4.tar.gz |
meson: enable nativesdk
Currently, we can't build meson into SDKs because we don't autogenerate
the required meson.cross file.
Enable this by using the post-relocate hooks and generating a
meson.cross file based on the SDK environment passed into the
post-relocate hook.
(From OE-Core rev: aabb846b165fec218024a7a57f3c9fdaa2514179)
Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/meson/meson_0.46.1.bb')
-rw-r--r-- | meta/recipes-devtools/meson/meson_0.46.1.bb | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/meta/recipes-devtools/meson/meson_0.46.1.bb b/meta/recipes-devtools/meson/meson_0.46.1.bb index 77f6416cc2..897fa148d9 100644 --- a/meta/recipes-devtools/meson/meson_0.46.1.bb +++ b/meta/recipes-devtools/meson/meson_0.46.1.bb | |||
@@ -1,23 +1,3 @@ | |||
1 | HOMEPAGE = "http://mesonbuild.com" | 1 | include meson.inc |
2 | SUMMARY = "A high performance build system" | ||
3 | |||
4 | LICENSE = "Apache-2.0" | ||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=3b83ef96387f14655fc854ddc3c6bd57" | ||
6 | |||
7 | SRC_URI = "https://github.com/mesonbuild/meson/releases/download/${PV}/${BP}.tar.gz \ | ||
8 | file://0001-gtkdoc-fix-issues-that-arise-when-cross-compiling.patch \ | ||
9 | file://0002-gobject-introspection-determine-g-ir-scanner-and-g-i.patch \ | ||
10 | file://0001-Linker-rules-move-cross_args-in-front-of-output_args.patch \ | ||
11 | file://0003-native_bindir.patch \ | ||
12 | file://0004-Prettifying-some-output-with-pathlib.patch \ | ||
13 | file://0005-Set-the-meson-command-to-use-when-we-know-what-it-is.patch \ | ||
14 | " | ||
15 | SRC_URI[md5sum] = "1698f6526574839de5dcdc45e3f7d582" | ||
16 | SRC_URI[sha256sum] = "19497a03e7e5b303d8d11f98789a79aba59b5ad4a81bd00f4d099be0212cee78" | ||
17 | UPSTREAM_CHECK_URI = "https://github.com/mesonbuild/meson/releases" | ||
18 | |||
19 | inherit setuptools3 | ||
20 | |||
21 | RDEPENDS_${PN} = "ninja python3-core python3-modules" | ||
22 | 2 | ||
23 | BBCLASSEXTEND = "native" | 3 | BBCLASSEXTEND = "native" |