new cargo, rust tweaks, etc

This commit is contained in:
Cody P Schafer
2014-12-03 14:03:38 -05:00
parent 4132c47ce1
commit 1d2b7f4f11
7 changed files with 165 additions and 65 deletions
+7
View File
@@ -73,3 +73,10 @@ oe_runrustc () {
bbnote ${RUSTC} ${RUSTC_ARCHFLAGS} ${RUSTC_FLAGS} "$@"
"${RUSTC}" ${RUSTC_ARCHFLAGS} ${RUSTC_FLAGS} "$@"
}
# XXX: for some reason bitbake sets BUILD_* & TARGET_* but uses the bare
# variables for HOST. Alias things to make it easier for us.
HOST_LDFLAGS ?= "${LDFLAGS}"
HOST_CFLAGS ?= "${CFLAGS}"
HOST_CXXFLAGS ?= "${CXXFLAGS}"
HOST_CPPFLAGS ?= "${CPPFLAGS}"