+cross-compile.conf+ file +c_link_args+ and +cpp_link_args+ properties. By
default, the value of +TARGET_LDFLAGS+.
+* +FOO_MESON_EXTRA_BINARIES+, to specify a space-separated list of programs
+ to add to the `[binaries]` section of the meson `cross-compilation.conf`
+ configuration file. The format is `program-name='/path/to/program'`, with
+ no space around the +=+ sign, and with the path of the program between
+ single quotes. By default, empty. Note that Buildroot already sets the
+ correct values for +c+, +cpp+, +ar+, +strip+, and +pkgconfig+.
+
* +FOO_NINJA_ENV+, to specify additional environment variables to pass to
+ninja+, meson companion tool in charge of the build operations. By default,
empty.
-e "s%@TARGET_LDFLAGS@%$$($(2)_MESON_SED_LDFLAGS)%g" \
-e "s%@TARGET_CXXFLAGS@%$$($(2)_MESON_SED_CXXFLAGS)%g" \
-e "s%@HOST_DIR@%$$(HOST_DIR)%g" \
+ $$(foreach x,$$($(2)_MESON_EXTRA_BINARIES), \
+ -e "/\(\[binaries\]\)/s:$$$$:\n$$(x):" \
+ ) \
package/meson/cross-compilation.conf.in \
> $$($$(PKG)_SRCDIR)/build/cross-compilation.conf
PATH=$$(BR_PATH) $$($$(PKG)_CONF_ENV) $$(MESON) \