package/pkg-meson.mk: allow packages to add extra [binaries]
authorYann E. MORIN <yann.morin.1998@free.fr>
Sat, 28 Sep 2019 20:04:30 +0000 (22:04 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 5 Oct 2019 20:15:39 +0000 (22:15 +0200)
commit3f6e5fb470986a9b1cc38e0f046ff4736143b087
treecec3e4c1af6f73d5b5135f8bc30a701ecab7971a
parent7a2224273d883eca2b55e73851e0a14ba2b475e4
package/pkg-meson.mk: allow packages to add extra [binaries]

meson does not allow passing path to helper programs (e.g. pkgconfig)
using variables in the environment. Instead, it insists that those paths
be defined in the cross-compilation.conf file, in the [binaries]
section [0]

As such, allow packages to declare such a list of arbitrary entries to
add in the [binaries] section.

[0] https://github.com/mesonbuild/meson/issues/3327 for the LLVM_CONFIG
    example, which we'll address in a follow-up patch.

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Cc: Peter Seiderer <ps.report@gmx.net>
Cc: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Tested-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
docs/manual/adding-packages-meson.txt
package/pkg-meson.mk