Trying to build rust-hello-world

This commit is contained in:
Cody P Schafer
2014-11-14 19:07:59 -05:00
parent 56ffb31053
commit 084e14a567
3 changed files with 6 additions and 1 deletions
+3
View File
@@ -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}"
+1 -1
View File
@@ -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 ""