Trying to build rust-hello-world
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
inherit cross
|
||||
DEPENDS += "virtual/${TARGET_PREFIX}gcc"
|
||||
PN = "rust-cross"
|
||||
@@ -6,6 +6,8 @@ SUMMARY = "Hello World by Cargo for Rust"
|
||||
HOMEPAGE = "https://github.com/jmesmon/rust-hello-world"
|
||||
LICENSE = "MIT | Apache-2.0"
|
||||
|
||||
DEPENDS = "rust cargo"
|
||||
|
||||
inherit rust
|
||||
S = "${WORKDIR}/git"
|
||||
B = "${S}"
|
||||
|
||||
@@ -263,7 +263,7 @@ do_install () {
|
||||
# cp $prefix/lib/rustlib/`rust_triple "${TARGET_ARCH}" "${TARGET_VENDOR}" "${TARGET_OS}"`/lib/*.so ${target_libdir}/
|
||||
|
||||
# cross-canadian: llvm configure fails for host while attempting to build host-only llvm
|
||||
BBCLASSEXTEND = "cross native"
|
||||
BBCLASSEXTEND = "rust-cross native"
|
||||
|
||||
#python cross_virtclass_provides_native_handler () {
|
||||
# classextend = e.data.getVar('BBCLASSEXTEND', True) or ""
|
||||
|
||||
Reference in New Issue
Block a user