Commit graph

20 commits

Author SHA1 Message Date
Rosen Penev
242afe6d3e
meson: update to 0.56.0
Move c/c++ options from properties to built-in options as there is now
a deprecated warning.

Remove cross libdir value. It's default since version 0.50.

Remove ld option as it was removed in version 0.51.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-11-24 22:41:22 -08:00
Rosen Penev
70ef0d2452
meson: update to 0.55.3
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-09-20 15:52:57 -07:00
Rosen Penev
9e1e4fc680
meson: update to 0.55.1
Remove upstream backports.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-18 00:17:49 -07:00
Rosen Penev
b01076ccd8
meson: backport upstream rpath fix
-Wl,rpath= does not work with clang, yet -Wl,rpath, does not work with
meson. Backport upstream patch fixing this.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-01 09:34:17 -07:00
Rosen Penev
6b65b20664
meson: backport no setuptools patch
It seems this was cut after the release. Fixes CircleCI compilation.

Remove distutils patch. It looks like it does nothing.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-07-25 00:25:55 -07:00
Rosen Penev
c7057755cd
meson: update to 0.55.0
Remove upstreamed patch and add distutils one.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-07-23 18:55:13 -07:00
Rosen Penev
737f1f46ce
meson: fix arch mapping
meson uses a different architecture mapping than CONFIG_ARCH does.

Fix the problematic ones and fall back to CONFIG_ARCH.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-07-18 15:31:37 -07:00
Rosen Penev
0710282a6b
meson: update to 0.54.3
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-06-29 15:19:17 -07:00
Rosen Penev
b385702309
meson: update to 0.54.2
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-05-20 12:29:37 -07:00
Rosen Penev
67c6bb1937
meson: update to 0.54.1
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-05-01 12:56:22 -07:00
Rosen Penev
d88e1ae4dd
meson: fix rpath handling
This was uncovered with glib2 where the host builds were linking to the
actual host instead of the generated libraries.

Patch taken from buildroot.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-04-22 18:37:33 -07:00
Rosen Penev
48ef84ccef
Merge pull request #11874 from neheb/meson
meson: allow compilation in a subdirectory
2020-04-21 21:46:08 -07:00
Jeffery To
1bc2f4f3c6 treewide: Remove Python variants for non-Python packages
This removes Python-related build variants, and adds
PYTHON3_PKG_BUILD:=0 and minor build adjustments (where appropriate),
for non-Python packages. There should be no changes to build output.

This also updates some include paths for python3-package.mk and/or
python3-host.mk to be relative to the package Makefile.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-04-19 01:56:23 +08:00
Rosen Penev
e74498c97a
meson: allow compilation in a subdirectory
Small tweak to get it to build.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-04-18 00:22:12 -07:00
Josef Schlehofer
5f19c28578 meson: update to version 0.54.0
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2020-04-06 21:46:27 -10:00
Rosen Penev
ccb70a3407
meson: update to 0.53.2
Switched to PyPI.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-03-06 16:26:31 -08:00
Rosen Penev
66bf801f3a meson: update to 0.53.1
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-02-05 02:31:05 -08:00
Andre Heider
f5c8565d1b meson: fix building host binaries with ccache
With CONFIG_CCACHE, $HOSTCC is 'ccache gcc' while $TARGET_CC points to a
single wrapper script. Compiling target binaries with ccache works, but
doesn't for host binaries, because we need to supply an argv array for
argc > 1 in the meson cross file.

Always pass an array for the c and c++ compiler, and while at it, do it
for the target as well - just to be on the safe side if that ever
changes.

Fixes #10982.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2020-01-11 18:49:17 +01:00
Josef Schlehofer
ce027362c4
meson: Update to version 0.52.1
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-12-16 16:40:34 +01:00
Andre Heider
d83cba79c1 meson: add new package
This adds a host as well as a target package.

meson.mk is provided to build packages using meson.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2019-11-01 08:14:25 +01:00