]> code.ossystems Code Review - openembedded-core.git/commitdiff
cargo: Ensure cargo-cross-canadian doesn't have native/nativesdk versions
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 23 Aug 2021 12:54:19 +0000 (13:54 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 26 Aug 2021 21:09:24 +0000 (22:09 +0100)
native/nativesdk variants of a cross-canadian recipe don't make any
sense so avoid these recipe variants.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/cargo/cargo.inc
meta/recipes-devtools/cargo/cargo_1.54.0.bb

index 58aed254ff02782673ca48fb815c3ae7840b2f77..6161c327e8158561308358ba2f75d7b627d26139 100644 (file)
@@ -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"
index 1f69615640b1521a2b72c76e736b89fd88fe0505..175f544d660b3846a0dc48cfc97430a490b74d1f 100644 (file)
@@ -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"