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 committed 2021-02-07 19:50:58 +01:00
1 parent 9c0a1059be
commit 3e73030c51
10 files changed
+19 -90

No files matched your search

+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"