[Buildroot] [PATCH] package/pkg-meson: ensure the global cross-compilation.conf file is correct
thomas.petazzoni at bootlin.com
Fri Dec 6 07:59:00 UTC 2019
On Thu, 5 Dec 2019 23:13:42 +0100
Arnout Vandecappelle <arnout at mind.be> wrote:
> > -TOOLCHAIN_POST_INSTALL_STAGING_HOOKS += PKG_MESON_INSTALL_CROSS_CONF
> > +TOOLCHAIN_TARGET_FINALIZE_HOOKS += PKG_MESON_INSTALL_CROSS_CONF
> Note that this essentially reverts .
> The case for that patch was not terribly strong, so it should be OK. But then
> again, the case for this patch is not that strong either.
Well, the case for my patch is that it allows to produce a meson
cross-compilation.conf that has correct and usable values at the end of
> Note that pkg-cmake has the same issue. And a number of other packages as well,
> e.g. the Python sysconfig refers to the Python per-package dirs.
For sysconfig, I have a pending patch that I will submit soon to fix
the problem. It is in fact worse for sysconfig because if you don't
tweak it during the build, the build simply fails. While for the global
meson cross-compilation.conf, it is less dramatic as it is not used by
Buildroot itself, just provided as a convenience.
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
More information about the buildroot