diff options
Diffstat (limited to 'meta/recipes-devtools/rust/rust-target.inc')
-rw-r--r-- | meta/recipes-devtools/rust/rust-target.inc | 10 |
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 @@ | |||
1 | require rust.inc | ||
2 | |||
3 | DEPENDS += "rust-llvm (=${PV})" | ||
4 | |||
5 | # Otherwise we'll depend on what we provide | ||
6 | INHIBIT_DEFAULT_RUST_DEPS:class-native = "1" | ||
7 | # We don't need to depend on gcc-native because yocto assumes it exists | ||
8 | PROVIDES:class-native = "virtual/${TARGET_PREFIX}rust" | ||
9 | |||
10 | BBCLASSEXTEND = "native" | ||