mirror of
https://git.yoctoproject.org/poky
synced 2026-04-20 11:28:58 +00:00
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>
This commit is contained in:
@@ -13,6 +13,7 @@ BASEDEPENDS:append = " cargo-native"
|
||||
|
||||
# Ensure we get the right rust variant
|
||||
DEPENDS:append:class-target = " virtual/${TARGET_PREFIX}rust ${RUSTLIB_DEP}"
|
||||
DEPENDS:append:class-nativesdk = " virtual/${TARGET_PREFIX}rust ${RUSTLIB_DEP}"
|
||||
DEPENDS:append:class-native = " rust-native"
|
||||
|
||||
# Enable build separation
|
||||
|
||||
Reference in New Issue
Block a user