closer
This commit is contained in:
@@ -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
@@ -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,4 +1,4 @@
|
||||
SRCREV_cargo = "f830efaa4ac85e8c8e421aa354d5becb9845e44f"
|
||||
SRCREV_cargo = "e6ec71a85249984c4ed3ed409b770f0639c1de1c"
|
||||
require cargo.inc
|
||||
|
||||
#SRC_URI_append = " \
|
||||
|
||||
Reference in New Issue
Block a user