rust-target.inc: add new include file to simplify all rust_*.bb

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Martin Jansa
2021-02-07 19:41:39 +01:00
parent 9c0a1059be
commit 3e73030c51
10 changed files with 19 additions and 90 deletions
+10
View File
@@ -0,0 +1,10 @@
require rust.inc
DEPENDS += "rust-llvm (=${PV})"
# Otherwise we'll depend on what we provide
INHIBIT_DEFAULT_RUST_DEPS_class-native = "1"
# We don't need to depend on gcc-native because yocto assumes it exists
PROVIDES_class-native = "virtual/${TARGET_PREFIX}rust"
BBCLASSEXTEND = "native"