From: Ross Burton Date: Sat, 10 May 2025 08:43:54 +0000 (+0100) Subject: meson: split template generation X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3c4d2fc7ef38042737f64e9e44355839ab551b55;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git meson: split template generation Split the template generation function into two functions, one for cross and another for native. Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/meson/meson_1.8.0.bb b/meta/recipes-devtools/meson/meson_1.8.0.bb index eb88890cd7f..1d1011597b9 100644 --- a/meta/recipes-devtools/meson/meson_1.8.0.bb +++ b/meta/recipes-devtools/meson/meson_1.8.0.bb @@ -65,7 +65,7 @@ def generate_native_link_template(d): return repr(val) -install_templates() { +install_native_template() { install -d ${D}${datadir}/meson cat >${D}${datadir}/meson/meson.native.template <${D}${datadir}/meson/meson.cross.template <