fix some instalation and paths, rustc --target ${TARGET_SYS} now just fails to find std

This commit is contained in:
Cody P Schafer
2014-11-16 18:45:58 -05:00
parent 34ed27da30
commit fb7bee4f4d
3 changed files with 16 additions and 4 deletions
+5 -1
View File
@@ -3,7 +3,6 @@ inherit cross
# Otherwise we'll depend on what we provide
INHIBIT_DEFAULT_DEPS = "1"
DEPENDS += "virtual/${TARGET_PREFIX}gcc rust-native"
PROVIDES = "virtual/${TARGET_PREFIX}rust"
PN = "rust-cross-${TARGET_ARCH}"
@@ -15,3 +14,8 @@ PN = "rust-cross-${TARGET_ARCH}"
# TODO: use rust-native instead of a snapshot
EXTRA_OECONF += ""
# cross.bbclass is "helpful" and overrides our do_install. Tell it not to.
do_install () {
rust_do_install
}