From 4ba7fb0b6a5021bca73aade4af390e8e017b491a Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Mon, 23 Aug 2021 13:54:19 +0100 Subject: cargo: Ensure cargo-cross-canadian doesn't have native/nativesdk versions native/nativesdk variants of a cross-canadian recipe don't make any sense so avoid these recipe variants. Signed-off-by: Richard Purdie --- meta/recipes-devtools/cargo/cargo.inc | 2 -- meta/recipes-devtools/cargo/cargo_1.54.0.bb | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/meta/recipes-devtools/cargo/cargo.inc b/meta/recipes-devtools/cargo/cargo.inc index 58aed254ff..6161c327e8 100644 --- a/meta/recipes-devtools/cargo/cargo.inc +++ b/meta/recipes-devtools/cargo/cargo.inc @@ -43,8 +43,6 @@ do_install () { # Needed for pkg-config to be used export LIBSSH2_SYS_USE_PKG_CONFIG = "1" -BBCLASSEXTEND = "native nativesdk" - # When building cargo-native we don't have cargo-native to use and depend on, # so we must use the locally set up snapshot to bootstrap the build. BASEDEPENDS:remove:class-native = "cargo-native" diff --git a/meta/recipes-devtools/cargo/cargo_1.54.0.bb b/meta/recipes-devtools/cargo/cargo_1.54.0.bb index 1f69615640..175f544d66 100644 --- a/meta/recipes-devtools/cargo/cargo_1.54.0.bb +++ b/meta/recipes-devtools/cargo/cargo_1.54.0.bb @@ -1,4 +1,4 @@ require recipes-devtools/rust/rust-source-${PV}.inc require recipes-devtools/rust/rust-snapshot-${PV}.inc require cargo.inc - +BBCLASSEXTEND = "native nativesdk" -- cgit 1.2.3-korg