USE_LOCAL_RUST tweaks

This commit is contained in:
Cody P Schafer
2014-12-30 16:00:12 -05:00
parent 26ab9939c8
commit f6a6687733
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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)}"
+1 -1
View File
@@ -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}
}