19 lines
568 B
BlitzBasic
19 lines
568 B
BlitzBasic
require rust.inc
|
|
require rust-source-${PV}.inc
|
|
|
|
EXTRA_OECONF = "--disable-rustbuild"
|
|
|
|
SRC_URI += " \
|
|
file://rust-${PV}/0001-Target-add-default-target.json-path-libdir-rust-targ.patch \
|
|
file://rust-${PV}/0003-std-thread_local-workaround-for-NULL-__dso_handle.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"
|
|
|
|
BBCLASSEXTEND = "native"
|