summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/rust/rust-target.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/rust/rust-target.inc')
-rw-r--r--meta/recipes-devtools/rust/rust-target.inc10
1 files changed, 10 insertions, 0 deletions
diff --git a/meta/recipes-devtools/rust/rust-target.inc b/meta/recipes-devtools/rust/rust-target.inc
new file mode 100644
index 0000000000..3f637b3ba5
--- /dev/null
+++ b/meta/recipes-devtools/rust/rust-target.inc
@@ -0,0 +1,10 @@
1require rust.inc
2
3DEPENDS += "rust-llvm (=${PV})"
4
5# Otherwise we'll depend on what we provide
6INHIBIT_DEFAULT_RUST_DEPS:class-native = "1"
7# We don't need to depend on gcc-native because yocto assumes it exists
8PROVIDES:class-native = "virtual/${TARGET_PREFIX}rust"
9
10BBCLASSEXTEND = "native"