multiple fixes

- avoid choking in morestack on i586,
 - fixup dependencies
 - rename rust-cross to internal-rust-cross (in the hope the people are
   less likely to try to inherit it when they shouldn't)
 - enable-local-rust for -target and -cross builds
This commit is contained in:
Cody P Schafer
2014-11-15 21:46:04 -05:00
parent 67094e7ee4
commit 79c4a9843e
6 changed files with 64 additions and 17 deletions
+17
View File
@@ -0,0 +1,17 @@
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}"
## gcc-cross settings
# INHIBIT_DEFAULT_DEPS = "1"
# INHIBIT_PACKAGE_STRIP = "1"
# ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_DIR_NATIVE}${target_includedir}"
# TODO: use rust-native instead of a snapshot
EXTRA_OECONF += ""