]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
classes-recipe: add cargo_c.bbclass
authorFrederic Martinsons <frederic.martinsons@gmail.com>
Thu, 17 Aug 2023 05:04:14 +0000 (07:04 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 21 Aug 2023 15:14:27 +0000 (16:14 +0100)
commit1e4862db1d6293872b76b62acee1e4a5e2597367
treeabb12797e6b962911e423fa56c9212eb062b4e62
parentdfce5f9ffb5240aadae311c2a2e912a315afc703
classes-recipe: add cargo_c.bbclass

This class can be used inside rust recipe to generate
a rust library that can be called by C/C++ code.

The rust recipe which uses this class has to only replace
"inherit cargo" by "inherit cargo_c".

Signed-off-by: Frederic Martinsons <frederic.martinsons@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-recipe/cargo_c.bbclass [new file with mode: 0644]