USE_LOCAL_RUST tweaks
This commit is contained in:
@@ -7,4 +7,4 @@ INHIBIT_DEFAULT_RUST_DEPS = "1"
|
||||
PROVIDES = "virtual/${TARGET_PREFIX}rust"
|
||||
|
||||
USE_LOCAL_NATIVE_RUST ??= "0"
|
||||
USE_LOCAL_RUST = "${@base_conditional('USE_LOCAL_NATIVE_RUST', '0', '0', '1', d)}"
|
||||
USE_LOCAL_RUST ?= "${@base_conditional('USE_LOCAL_NATIVE_RUST', '0', '0', '1', d)}"
|
||||
|
||||
@@ -310,7 +310,7 @@ do_configure () {
|
||||
"--mandir=${mandir}" \
|
||||
"--libdir=${libdir}" \
|
||||
"--bindir=${bindir}" \
|
||||
${@base_conditional('USE_LOCAL_RUST', '1', '--$local_maybe_enable-local-rust --local-rust-root=$local_rust_root', '', d)} \
|
||||
${@base_conditional('USE_LOCAL_RUST', '1', '--$local_maybe_enable-local-rust --local-rust-root=$local_rust_root', '--local-rust-root=/not/a/dir', d)} \
|
||||
${EXTRA_OECONF}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user