diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-03-16 17:45:55 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-03-17 16:44:33 +0000 |
commit | b688d68c6e87e07f9fbdb4c7cf5c11db1db7ce1b (patch) | |
tree | 6e6fa2e8cb9f8e095dab328a0a52ee1be432dee9 /meta | |
parent | da0cb26c00bc684d78ef2ea6d5a74c37992c66dd (diff) | |
download | poky-b688d68c6e87e07f9fbdb4c7cf5c11db1db7ce1b.tar.gz |
cargo: Add missing nativesdk support
Copy the target definition for nativesdk to allow nativesdk builds
to work.
(From OE-Core rev: 40b02f496d6bb9162f9fa36335b047c06937f2f3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/cargo.bbclass | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/cargo.bbclass b/meta/classes/cargo.bbclass index 0ca38143c0..4a780a501f 100644 --- a/meta/classes/cargo.bbclass +++ b/meta/classes/cargo.bbclass | |||
@@ -13,6 +13,7 @@ BASEDEPENDS:append = " cargo-native" | |||
13 | 13 | ||
14 | # Ensure we get the right rust variant | 14 | # Ensure we get the right rust variant |
15 | DEPENDS:append:class-target = " virtual/${TARGET_PREFIX}rust ${RUSTLIB_DEP}" | 15 | DEPENDS:append:class-target = " virtual/${TARGET_PREFIX}rust ${RUSTLIB_DEP}" |
16 | DEPENDS:append:class-nativesdk = " virtual/${TARGET_PREFIX}rust ${RUSTLIB_DEP}" | ||
16 | DEPENDS:append:class-native = " rust-native" | 17 | DEPENDS:append:class-native = " rust-native" |
17 | 18 | ||
18 | # Enable build separation | 19 | # Enable build separation |