Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Martin Jansa
2021-02-07 20:08:13 +01:00
parent d15e66ae93
commit c976184935
4 changed files with 4 additions and 33 deletions
+1 -10
View File
@@ -1,4 +1,4 @@
require rust.inc
require rust-target.inc
require rust-source-${PV}.inc
require rust-snapshot-${PV}.inc
@@ -6,13 +6,6 @@ SRC_URI += "\
file://0001-rustc_target-Fix-dash-vs-underscore-mismatches-in-op.patch \
"
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"
do_compile () {
rust_runx build --stage 2
}
@@ -20,5 +13,3 @@ do_compile () {
rust_do_install() {
rust_runx install
}
BBCLASSEXTEND = "native"