]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
cargo.bbclass: do not install libraries by default
authorAlexander Kanavin <alex@linutronix.de>
Wed, 4 Dec 2024 06:48:49 +0000 (07:48 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 5 Dec 2024 11:55:08 +0000 (11:55 +0000)
commit68990af9630da16fc75362ca09046ceab71a1106
tree8e5c51bea50740772477b0262959c2ddb8cded31
parentf834f675d5602a4fbfedc6525ada91cdf4e7f379
cargo.bbclass: do not install libraries by default

'cargo install' only installs executables and examples into the system,
and we should follow that. Libraries are vendored into
build trees from the crate registry and then baked directly into executables.

Neverthless, there's now a condition variable, so individual recipes can
opt into installing libraries if there's a use case for it.

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>
meta/classes-recipe/cargo.bbclass