4ccca55f2f
This patches handle changing the directories that things are installed in but appear to be unused. They were likely used before rust-cross was split out to not install files. Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
25 lines
977 B
BlitzBasic
25 lines
977 B
BlitzBasic
require rust.inc
|
|
require rust-source-${PV}.inc
|
|
|
|
# the configure script always requires cmake so despite
|
|
# rust not needing this (only rust-llvm needs it) we must
|
|
# have it for the configure script to succeed.
|
|
DEPENDS += "cmake-native"
|
|
|
|
SRC_URI += " \
|
|
file://rust-${PV}/0001-Target-add-default-target.json-path-libdir-rust-targ.patch \
|
|
file://rust-${PV}/0002-mk-for-stage0-use-RUSTFLAGS-to-override-target-libs-.patch \
|
|
file://rust-${PV}/0005-std-thread_local-workaround-for-NULL-__dso_handle.patch \
|
|
file://rust-${PV}/0007-Allow-overriding-crate_hash-with-C-crate_hash.patch \
|
|
file://rust-${PV}/0008-mk-platform.mk-pass-C-crate_hash-to-builds.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"
|