Commit graph

3 commits

Author SHA1 Message Date
Rosen Penev
125f6ff9ec meson: use python3
meson supports python 3.5.3 and up only.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-04-14 03:44:34 -07:00
Andre Heider
c7e1a34531
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>
(cherry picked from commit f5c8565d1b)
2020-04-06 22:02:48 +02:00
Andre Heider
c61579b564
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>
(cherry picked from commit d83cba79c1)
2019-12-10 12:02:56 +01:00