1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-13 10:59:13 +02:00
Commit Graph

28 Commits

Author SHA1 Message Date
Rosen Penev
0f790bb09d meson: use ninja from tools
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-06-21 01:17:46 -07:00
Rosen Penev
1c6dea43a4 meson: update to 0.57.2
Remove upstream backport.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-04-12 22:32:20 -07:00
Rosen Penev
42baf1bac5 meson: fix compilation with at least spice
This commit should also get rid of pointless option warnings.

Also removed an extra ) that was causing a bad cpu value.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-04-05 15:31:59 -07:00
Rosen Penev
d901577ffc Revert "meson: reconfigure on incremental builds"
This reverts commit f1c40e3840.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-03-22 11:45:58 -07:00
Andre Heider
f1c40e3840 meson: reconfigure on incremental builds
When toggling a package specific config knob, we need to pass --reconfigure
to the meson setup command if an earlier build already exists.

Fixes #15032.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2021-03-17 10:16:28 +01:00
Andre Heider
a7865a4af4 meson: fix host cpu setting
CONFIG_TARGET_SUBTARGET is bogus for this, it can contain values such as
'nand' or 'tiny', use the real cpu type instead.

Fixes #14662.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2021-03-17 10:16:28 +01:00
Andre Heider
97689327ca meson: update to 0.57.1
v0.57 is the first version that requires at least python 3.6.
Since commit 7379f8bd on the main repository we can now rely on this
prerequisite.

Switch to AUTORELEASE while at it.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2021-03-17 10:16:28 +01:00
Rosen Penev
001422367e meson: update to 0.56.2
This is the last version supporting Python 3.5, which is still in wide
use. Going forward, python3/host would need to be used. Not sure if
worth it.

Remove paths section as it's deprecated.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-03-06 13:54:03 -08:00
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