diff mbox series

[meta-lts-mixins,scarthgap/rust,3/9] cargo-c: convert to target recipe

Message ID 029a7a82d9e134c39ae47cc154245ce59c06e5d9.1738173519.git.scott.murray@konsulko.com
State New
Headers show
Series Update to Rust 1.81.0 | expand

Commit Message

Scott Murray Jan. 29, 2025, 6:08 p.m. UTC
From: Alexander Kanavin <alex@linutronix.de>

This was prompted by sstatetests.SStateHashSameSigs2.test_sstate_allarch_samesigs
where adwaita-icon-theme would fail due to new librsvg introducing
cargo-c-native into dependency path.

Rather than look into why is that, I simply converted the recipe
into the standard 'target + BBCLASSEXTEND' approach.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(adapted from oe-core commit 80a2673a3081e623f30f25cc773ac9217e717958)
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
---
 ...e_0.10.5+cargo-0.83.0.bb => cargo-c_0.10.5+cargo-0.83.0.bb} | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
 rename recipes-devtools/rust/{cargo-c-native_0.10.5+cargo-0.83.0.bb => cargo-c_0.10.5+cargo-0.83.0.bb} (86%)
diff mbox series

Patch

diff --git a/recipes-devtools/rust/cargo-c-native_0.10.5+cargo-0.83.0.bb b/recipes-devtools/rust/cargo-c_0.10.5+cargo-0.83.0.bb
similarity index 86%
rename from recipes-devtools/rust/cargo-c-native_0.10.5+cargo-0.83.0.bb
rename to recipes-devtools/rust/cargo-c_0.10.5+cargo-0.83.0.bb
index 728b875..c6e88e6 100644
--- a/recipes-devtools/rust/cargo-c-native_0.10.5+cargo-0.83.0.bb
+++ b/recipes-devtools/rust/cargo-c_0.10.5+cargo-0.83.0.bb
@@ -9,9 +9,10 @@  SRC_URI = "crate://crates.io/cargo-c/${PV};name=cargo-c"
 SRC_URI[cargo-c.sha256sum] = "5bfa9ba93806384d940e71dafbc185316e0a6a47561b33b7105fcf67f99df70a"
 S = "${CARGO_VENDORING_DIRECTORY}/cargo-c-${PV}"
 
-inherit cargo cargo-update-recipe-crates pkgconfig native
+inherit cargo cargo-update-recipe-crates pkgconfig
 
 DEPENDS = "openssl curl"
 
 require ${BPN}-crates.inc
 
+BBCLASSEXTEND = "native"