diff options
author | Randy Li <ayaka@soulik.info> | 2020-12-29 11:55:50 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-01-12 17:44:17 +0000 |
commit | e1d6b3fbcb164a873540a3a817fe2df6bd6fdaed (patch) | |
tree | e23749a4f95ba7228329149b9a80dd5b4274a8b0 /meta | |
parent | ff036cbb77124867a6c6f97ca206b4fd3ee00c70 (diff) | |
download | poky-e1d6b3fbcb164a873540a3a817fe2df6bd6fdaed.tar.gz |
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.
(From OE-Core rev: 4ac692422526a2924602df410d7562b31d36c0ae)
Signed-off-by: Randy Li <ayaka@soulik.info>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-devtools/meson/nativesdk-meson_0.56.0.bb | 1 |
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 | |||
40 | c_link_args = @LDFLAGS | 40 | c_link_args = @LDFLAGS |
41 | cpp_args = @CPPFLAGS | 41 | cpp_args = @CPPFLAGS |
42 | cpp_link_args = @LDFLAGS | 42 | cpp_link_args = @LDFLAGS |
43 | sys_root = @OECORE_TARGET_SYSROOT | ||
43 | 44 | ||
44 | [host_machine] | 45 | [host_machine] |
45 | system = '${SDK_OS}' | 46 | system = '${SDK_OS}' |