1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-20 15:48:40 +02:00
Commit Graph

7 Commits

Author SHA1 Message Date
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
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
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
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
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
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