From 298e445560c399caa362efbac3b0570067835f4b Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Sat, 10 May 2025 09:43:55 +0100 Subject: [PATCH] meson: remove sysroot from the native environment file The [properties]sys_root assignment doesn't actually do much in cross builds, and does nothing in native builds (confirmed by the Meson author). (From OE-Core rev: b3ac60779d3f392689bad25780974244f893e2a0) Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta/recipes-devtools/meson/meson_1.8.0.bb | 3 --- 1 file changed, 3 deletions(-) diff --git a/meta/recipes-devtools/meson/meson_1.8.0.bb b/meta/recipes-devtools/meson/meson_1.8.0.bb index 1d1011597b..5d4fc39751 100644 --- a/meta/recipes-devtools/meson/meson_1.8.0.bb +++ b/meta/recipes-devtools/meson/meson_1.8.0.bb @@ -83,9 +83,6 @@ c_args = ['-isystem@{OECORE_NATIVE_SYSROOT}${includedir_native}' , ${@var_list2s c_link_args = ${@generate_native_link_template(d)} cpp_args = ['-isystem@{OECORE_NATIVE_SYSROOT}${includedir_native}' , ${@var_list2str('BUILD_OPTIMIZATION', d)}] cpp_link_args = ${@generate_native_link_template(d)} - -[properties] -sys_root = '@OECORE_NATIVE_SYSROOT' EOF }