mirror of
git://git.yoctoproject.org/poky
synced 2026-08-11 16:52:35 +00:00
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. (From OE-Core rev: 4ba7fb0b6a5021bca73aade4af390e8e017b491a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
37b2059a7f
commit
cfc8d6dd64
@ -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"
|
||||
|
||||
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user