mirror of
https://git.yoctoproject.org/poky
synced 2026-04-26 00:32:12 +02:00
Meson 0.51 onwards detects if a build is cross by whether the host and build machines match. However this doesn't work in a number of cross compilation cases: notably where host is Windows but build is Linux, but also the common OpenEmbedded case where the host and build machine are both x86-64. Previously we'd patched this to instead look at whether an executable wrapper is needed: our cross files always set this to true so all cross builds would be identified as cross. However, this breaks build on the target as without a cross file the early cross build detection fails as we don't yet know if an exe wrapper is needed. The neater solution is to simply go back to the older logic: a cross build has cross files defined. [ YOCTO #13571 ] (From OE-Core rev: 9aa543aa9bd78c63343ae28fc85113ca2c9e0094) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
38 lines
1.7 KiB
PHP
38 lines
1.7 KiB
PHP
HOMEPAGE = "http://mesonbuild.com"
|
|
SUMMARY = "A high performance build system"
|
|
DESCRIPTION = "Meson is a build system designed to increase programmer \
|
|
productivity. It does this by providing a fast, simple and easy to use \
|
|
interface for modern software development tools and practices."
|
|
|
|
LICENSE = "Apache-2.0"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=3b83ef96387f14655fc854ddc3c6bd57"
|
|
|
|
SRC_URI = "https://github.com/mesonbuild/meson/releases/download/${PV}/meson-${PV}.tar.gz \
|
|
file://0001-gtkdoc-fix-issues-that-arise-when-cross-compiling.patch \
|
|
file://0002-gobject-introspection-determine-g-ir-scanner-and-g-i.patch \
|
|
file://0003-native_bindir.patch \
|
|
file://0001-python-module-do-not-manipulate-the-environment-when.patch \
|
|
file://disable-rpath-handling.patch \
|
|
file://cross-prop-default.patch \
|
|
file://0001-environment.py-detect-windows-also-if-the-system-str.patch \
|
|
file://0001-Cross-build-is-defined-by-the-existance-of-a-cross-f.patch \
|
|
file://0001-mesonbuild-environment.py-check-environment-for-vari.patch \
|
|
file://0001-modules-python.py-do-not-substitute-python-s-install.patch \
|
|
file://vala-cross-compile.patch \
|
|
"
|
|
SRC_URI[sha256sum] = "23688f0fc90be623d98e80e1defeea92bbb7103bf9336a5f5b9865d36e892d76"
|
|
SRC_URI[md5sum] = "d46c4a8e3cfd27f90e2c6fe4a69e574b"
|
|
|
|
SRC_URI_append_class-native = " \
|
|
file://0001-Make-CPU-family-warnings-fatal.patch \
|
|
file://0002-Support-building-allarch-recipes-again.patch \
|
|
"
|
|
|
|
UPSTREAM_CHECK_URI = "https://github.com/mesonbuild/meson/releases"
|
|
|
|
inherit setuptools3
|
|
|
|
RDEPENDS_${PN} = "ninja python3-modules python3-pkg-resources"
|
|
|
|
FILES_${PN} += "${datadir}/polkit-1"
|