From 1ab2fd2d036e93bff84a78a85acc04a240ee5d07 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 5 Aug 2022 13:29:09 +0100 Subject: cargo_common: Handle build SYS as well as HOST/TARGET Improve the common class to handle BUILD_SYS as well as host and target, removing the need to a workaround in the rust recipe. (From OE-Core rev: 0dc9635c28c269f782ad4ed6ea06b4e4de1beb8e) Signed-off-by: Richard Purdie --- meta/recipes-devtools/rust/rust.inc | 3 --- 1 file changed, 3 deletions(-) (limited to 'meta/recipes-devtools/rust/rust.inc') diff --git a/meta/recipes-devtools/rust/rust.inc b/meta/recipes-devtools/rust/rust.inc index 5730887411..12c86e02c4 100644 --- a/meta/recipes-devtools/rust/rust.inc +++ b/meta/recipes-devtools/rust/rust.inc @@ -29,9 +29,6 @@ setup_cargo_environment () { # x86_64-unknown-linux-gnu. # Later stages are build for the native target (i.e. target.x86_64-linux) cargo_common_do_configure - - printf '[target.%s]\n' "${RUST_BUILD_SYS}" >> ${CARGO_HOME}/config - printf "linker = '%s'\n" "${RUST_BUILD_CCLD}" >> ${CARGO_HOME}/config } inherit rust-target-config -- cgit v1.2.3-54-g00ecf