package/pkg-meson: really generate the global cross-compilation.conf
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Wed, 6 Nov 2019 15:25:23 +0000 (16:25 +0100)
committerYann E. MORIN <yann.morin.1998@free.fr>
Fri, 8 Nov 2019 20:41:39 +0000 (21:41 +0100)
commit51bac54bbf0f8a545ca30cea6f1f10a0de7623ea
treec5e708df9d8ccb77fc6a293bad29ab90ce9107b9
parentd7131269b8c5019831392a647c8eeedb35f1a6dc
package/pkg-meson: really generate the global cross-compilation.conf

Commit ccc9e05990a44d8db5825c07ed61d405ebb40caa ("package/meson:
install cross-compilation.conf during toolchain install") moved the
logic to generate the global cross-compilation.conf from
package/meson/meson.mk to package/pkg-meson.mk. While doing so, it
renamed the macro from HOST_MESON_INSTALL_CROSS_CONF to
PKG_MESON_INSTALL_CROSS_CONF, but the registration of this hook in
TOOLCHAIN_POST_INSTALL_STAGING_HOOKS was not changed accordingly: it
is still registering HOST_MESON_INSTALL_CROSS_CONF.

Due to this, the global cross-compilation.conf file was no longer
generated.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Cc: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/pkg-meson.mk