Remove assumption that CARGO_VENDORING_DIRECTORY is ${CARGO_HOME}/bitbake and create both directories as part of cargo configure.
Signed-off-by: Alex Kiernan <alex.kier...@gmail.com> --- meta/classes-recipe/cargo_common.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes-recipe/cargo_common.bbclass b/meta/classes-recipe/cargo_common.bbclass index 0fb443edbdde..e932ada862bd 100644 --- a/meta/classes-recipe/cargo_common.bbclass +++ b/meta/classes-recipe/cargo_common.bbclass @@ -45,7 +45,7 @@ CARGO_LOCK_PATH ??= "${@ os.path.join(os.path.dirname(d.getVar('CARGO_MANIFEST_P CARGO_RUST_TARGET_CCLD ??= "${RUST_TARGET_CCLD}" cargo_common_do_configure () { - mkdir -p ${CARGO_HOME}/bitbake + mkdir -p "${CARGO_VENDORING_DIRECTORY}" "${CARGO_HOME}" cat <<- EOF > ${CARGO_HOME}/config # EXTRA_OECARGO_PATHS -- 2.39.0
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#193075): https://lists.openembedded.org/g/openembedded-core/message/193075 Mute This Topic: https://lists.openembedded.org/mt/103433090/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-