This commit is contained in:
Cody P Schafer
2014-11-12 17:58:19 -05:00
parent 3de3f64ec0
commit 8dbfa259b1
3 changed files with 14 additions and 3 deletions
+2 -1
View File
@@ -67,8 +67,9 @@ EOF
ar = "${TARGET_PREFIX}ar"
linker = "${TARGET_PREFIX}gcc"
EOF
}
oe_cargo_patch () {
cat >>Cargo.toml <<EOF
[profile.dev]
rpath = true
+11 -1
View File
@@ -19,7 +19,17 @@ PV .= "+git${SRCPV}"
S = "${WORKDIR}/git"
B = "${S}"
export RUST_PATH
do_cargo_config_patch () {
cd "${S}"
cat >>Cargo.toml <<EOF
[profile.dev]
rpath = true
[profile.release]
rpath = true
EOF
}
addtask cargo_config_patch after do_patch before do_configure
do_cargo_config_patch[dirs] = "${WORKDIR}"
do_configure () {
"${S}/configure" \
+1 -1
View File
@@ -1,4 +1,4 @@
SRCREV_cargo = "f830efaa4ac85e8c8e421aa354d5becb9845e44f"
SRCREV_cargo = "e6ec71a85249984c4ed3ed409b770f0639c1de1c"
require cargo.inc
#SRC_URI_append = " \