diff options
Diffstat (limited to 'meta/classes-recipe/cargo.bbclass')
-rw-r--r-- | meta/classes-recipe/cargo.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes-recipe/cargo.bbclass b/meta/classes-recipe/cargo.bbclass index b583f84bdf..76a39668c7 100644 --- a/meta/classes-recipe/cargo.bbclass +++ b/meta/classes-recipe/cargo.bbclass | |||
@@ -42,7 +42,7 @@ CARGO_BUILD_FLAGS = "-v --frozen --target ${RUST_HOST_SYS} ${BUILD_MODE} --manif | |||
42 | # This is based on the content of CARGO_BUILD_FLAGS and generally will need to | 42 | # This is based on the content of CARGO_BUILD_FLAGS and generally will need to |
43 | # change if CARGO_BUILD_FLAGS changes. | 43 | # change if CARGO_BUILD_FLAGS changes. |
44 | BUILD_DIR = "${@['release', 'debug'][d.getVar('DEBUG_BUILD') == '1']}" | 44 | BUILD_DIR = "${@['release', 'debug'][d.getVar('DEBUG_BUILD') == '1']}" |
45 | CARGO_TARGET_SUBDIR="${RUST_HOST_SYS}/${BUILD_DIR}" | 45 | CARGO_TARGET_SUBDIR = "${RUST_HOST_SYS}/${BUILD_DIR}" |
46 | oe_cargo_build () { | 46 | oe_cargo_build () { |
47 | export RUSTFLAGS="${RUSTFLAGS}" | 47 | export RUSTFLAGS="${RUSTFLAGS}" |
48 | bbnote "Using rust targets from ${RUST_TARGET_PATH}" | 48 | bbnote "Using rust targets from ${RUST_TARGET_PATH}" |