aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorRandy Li <ayaka@soulik.info>2020-12-29 11:55:50 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-01-12 17:43:54 +0000
commit4ac692422526a2924602df410d7562b31d36c0ae (patch)
tree2acf09ca58d50541bdfaf42188c63003efb30b19 /meta/recipes-devtools
parent063b5de86624a42b0aa784db6dddc7552a6dee7f (diff)
downloadopenembedded-core-contrib-4ac692422526a2924602df410d7562b31d36c0ae.tar.gz
openembedded-core-contrib-4ac692422526a2924602df410d7562b31d36c0ae.tar.bz2
openembedded-core-contrib-4ac692422526a2924602df410d7562b31d36c0ae.zip
meson: Add sysroot property to nativesdk-meson
I know the environment setup script would set PKG_CONFIG_PATH, but the meson won't take that env when translate the includedir property from the pkg-config. Signed-off-by: Randy Li <ayaka@soulik.info> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/meson/nativesdk-meson_0.56.0.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/meson/nativesdk-meson_0.56.0.bb b/meta/recipes-devtools/meson/nativesdk-meson_0.56.0.bb
index 67add2c25e..7fdc4c86d9 100644
--- a/meta/recipes-devtools/meson/nativesdk-meson_0.56.0.bb
+++ b/meta/recipes-devtools/meson/nativesdk-meson_0.56.0.bb
@@ -40,6 +40,7 @@ c_args = @CFLAGS
c_link_args = @LDFLAGS
cpp_args = @CPPFLAGS
cpp_link_args = @LDFLAGS
+sys_root = @OECORE_TARGET_SYSROOT
[host_machine]
system = '${SDK_OS}'