diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2021-10-10 21:10:05 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-10-14 11:48:45 +0100 |
commit | bcab6dd34ff3bf045fae474e883423015469482e (patch) | |
tree | 6fb3e2aeb4584cd6999d7b26da6a06e75cbdfea0 /meta | |
parent | a6ea3e02177277cbcaad959add539d2d1c677654 (diff) | |
download | poky-bcab6dd34ff3bf045fae474e883423015469482e.tar.gz |
rust/cargo: exclude UNINATIVE_LOADER from task signature
(From OE-Core rev: 8915dfa2034d939b504f134e83811ed2ba18a6f1)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-devtools/cargo/cargo.inc | 2 | ||||
-rw-r--r-- | meta/recipes-devtools/rust/rust.inc | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-devtools/cargo/cargo.inc b/meta/recipes-devtools/cargo/cargo.inc index 71e1c64f72..607c51fc3d 100644 --- a/meta/recipes-devtools/cargo/cargo.inc +++ b/meta/recipes-devtools/cargo/cargo.inc | |||
@@ -29,6 +29,8 @@ do_cargo_setup_snapshot () { | |||
29 | 29 | ||
30 | addtask cargo_setup_snapshot after do_unpack before do_configure | 30 | addtask cargo_setup_snapshot after do_unpack before do_configure |
31 | do_cargo_setup_snapshot[dirs] += "${WORKDIR}/${CARGO_SNAPSHOT}" | 31 | do_cargo_setup_snapshot[dirs] += "${WORKDIR}/${CARGO_SNAPSHOT}" |
32 | do_cargo_setup_snapshot[vardepsexclude] += "UNINATIVE_LOADER" | ||
33 | |||
32 | 34 | ||
33 | do_compile:prepend () { | 35 | do_compile:prepend () { |
34 | export RUSTC_BOOTSTRAP="1" | 36 | export RUSTC_BOOTSTRAP="1" |
diff --git a/meta/recipes-devtools/rust/rust.inc b/meta/recipes-devtools/rust/rust.inc index dc92cf5fd0..1d6f99afad 100644 --- a/meta/recipes-devtools/rust/rust.inc +++ b/meta/recipes-devtools/rust/rust.inc | |||
@@ -61,6 +61,7 @@ do_rust_setup_snapshot () { | |||
61 | } | 61 | } |
62 | addtask rust_setup_snapshot after do_unpack before do_configure | 62 | addtask rust_setup_snapshot after do_unpack before do_configure |
63 | do_rust_setup_snapshot[dirs] += "${WORKDIR}/rust-snapshot" | 63 | do_rust_setup_snapshot[dirs] += "${WORKDIR}/rust-snapshot" |
64 | do_rust_setup_snapshot[vardepsexclude] += "UNINATIVE_LOADER" | ||
64 | 65 | ||
65 | python do_configure() { | 66 | python do_configure() { |
66 | import json | 67 | import json |