diff options
Diffstat (limited to 'meta/recipes-devtools/rust/libstd-rs_1.90.0.bb')
| -rw-r--r-- | meta/recipes-devtools/rust/libstd-rs_1.90.0.bb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/meta/recipes-devtools/rust/libstd-rs_1.90.0.bb b/meta/recipes-devtools/rust/libstd-rs_1.90.0.bb index b39ec0ab39..8af93bec57 100644 --- a/meta/recipes-devtools/rust/libstd-rs_1.90.0.bb +++ b/meta/recipes-devtools/rust/libstd-rs_1.90.0.bb | |||
| @@ -34,7 +34,6 @@ CARGO_BUILD_FLAGS += "--features '${CARGO_FEATURES}'" | |||
| 34 | CARGO_VENDORING_DIRECTORY = "${RUSTSRC}/vendor" | 34 | CARGO_VENDORING_DIRECTORY = "${RUSTSRC}/vendor" |
| 35 | 35 | ||
| 36 | do_compile:prepend () { | 36 | do_compile:prepend () { |
| 37 | export CARGO_TARGET_DIR="${B}" | ||
| 38 | # For Rust 1.13.0 and newer | 37 | # For Rust 1.13.0 and newer |
| 39 | export RUSTC_BOOTSTRAP="1" | 38 | export RUSTC_BOOTSTRAP="1" |
| 40 | } | 39 | } |
| @@ -45,8 +44,8 @@ do_install () { | |||
| 45 | # With the incremental build support added in 1.24, the libstd deps directory also includes dependency | 44 | # With the incremental build support added in 1.24, the libstd deps directory also includes dependency |
| 46 | # files that get installed. Those are really only needed to incrementally rebuild the libstd library | 45 | # files that get installed. Those are really only needed to incrementally rebuild the libstd library |
| 47 | # itself and don't need to be installed. | 46 | # itself and don't need to be installed. |
| 48 | rm -f ${B}/${RUST_TARGET_SYS}/${BUILD_DIR}/deps/*.d | 47 | rm -f ${B}/target/${RUST_TARGET_SYS}/${BUILD_DIR}/deps/*.d |
| 49 | cp ${B}/${RUST_TARGET_SYS}/${BUILD_DIR}/deps/* ${D}${rustlibdir} | 48 | cp ${B}/target/${RUST_TARGET_SYS}/${BUILD_DIR}/deps/* ${D}${rustlibdir} |
| 50 | } | 49 | } |
| 51 | 50 | ||
| 52 | BBCLASSEXTEND = "nativesdk" | 51 | BBCLASSEXTEND = "nativesdk" |
