From b688d68c6e87e07f9fbdb4c7cf5c11db1db7ce1b Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Wed, 16 Mar 2022 17:45:55 +0000 Subject: 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 --- meta/classes/cargo.bbclass | 1 + 1 file changed, 1 insertion(+) 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" # 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 -- cgit v1.2.3-54-g00ecf