summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/cargo
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2022-07-23 13:41:38 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-07-28 11:07:33 +0100
commit1e04c8aafbe562d2c87ca9de53fbb27703b0c51a (patch)
tree999d6eea83251701fecb3f993e63651f2b5749f7 /meta/recipes-devtools/cargo
parenta02bb3b794fe97cbd64d6740db494de00c17134b (diff)
downloadpoky-1e04c8aafbe562d2c87ca9de53fbb27703b0c51a.tar.gz
rust-target-config: Create new class to contain target json config generation
Currently most of the rust recipes use this code but it is all piecemeal. Turn the code into a class where things can start to be rationalised. Ultimately some of the data and python code should be moved to a python library but one step at a time. No functionality changes. (From OE-Core rev: 3795285cbf362e13b8151bfdbe1bce999ac28641) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/cargo')
-rw-r--r--meta/recipes-devtools/cargo/cargo-cross-canadian.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/cargo/cargo-cross-canadian.inc b/meta/recipes-devtools/cargo/cargo-cross-canadian.inc
index d12267db3d..e83b6a67b3 100644
--- a/meta/recipes-devtools/cargo/cargo-cross-canadian.inc
+++ b/meta/recipes-devtools/cargo/cargo-cross-canadian.inc
@@ -5,7 +5,7 @@ RUST_ALTERNATE_EXE_PATH = "${STAGING_LIBDIR_NATIVE}/llvm-rust/bin/llvm-config"
5HOST_SYS = "${HOST_ARCH}-unknown-linux-gnu" 5HOST_SYS = "${HOST_ARCH}-unknown-linux-gnu"
6CARGO_RUST_TARGET_CCLD = "${RUST_BUILD_CCLD}" 6CARGO_RUST_TARGET_CCLD = "${RUST_BUILD_CCLD}"
7 7
8require recipes-devtools/rust/rust-common.inc 8inherit rust-target-config
9require cargo.inc 9require cargo.inc
10 10
11CARGO = "${WORKDIR}/${CARGO_SNAPSHOT}/bin/cargo" 11CARGO = "${WORKDIR}/${CARGO_SNAPSHOT}/bin/cargo"