diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-08-05 13:15:31 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-08-08 15:44:20 +0100 |
| commit | b1d8d2a3bfe40d83a651448bcd0eeb01434b7ad1 (patch) | |
| tree | 8266c80e68acab46fed9e1831149100c31e50a84 /meta/recipes-devtools/rust/libstd-rs.inc | |
| parent | 9a093d034889bff444a5801313e24c39a323d7ef (diff) | |
| download | poky-b1d8d2a3bfe40d83a651448bcd0eeb01434b7ad1.tar.gz | |
rust: Generate per recipe target configuration files
Instead of generating target configuration files centrally and often getting
it wrong, or having trouble finding the right set, generate them dynamically
from the bbclass into WORKDIR per recipe.
(From OE-Core rev: 9160e4a37561d8ac882057450a818621bec13bed)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/rust/libstd-rs.inc')
| -rw-r--r-- | meta/recipes-devtools/rust/libstd-rs.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-devtools/rust/libstd-rs.inc b/meta/recipes-devtools/rust/libstd-rs.inc index d49383ced5..1498b88f0e 100644 --- a/meta/recipes-devtools/rust/libstd-rs.inc +++ b/meta/recipes-devtools/rust/libstd-rs.inc | |||
| @@ -12,6 +12,9 @@ DEPENDS:append:libc-musl = " libunwind" | |||
| 12 | DEPENDS:remove:riscv32 = "libunwind" | 12 | DEPENDS:remove:riscv32 = "libunwind" |
| 13 | DEPENDS:remove:riscv64 = "libunwind" | 13 | DEPENDS:remove:riscv64 = "libunwind" |
| 14 | 14 | ||
| 15 | |||
| 16 | RUST_TARGETGENS = "BUILD HOST TARGET" | ||
| 17 | |||
| 15 | # Embed bitcode in order to allow compiling both with and without LTO | 18 | # Embed bitcode in order to allow compiling both with and without LTO |
| 16 | RUSTFLAGS += "-Cembed-bitcode=yes" | 19 | RUSTFLAGS += "-Cembed-bitcode=yes" |
| 17 | # Needed so cargo can find libbacktrace | 20 | # Needed so cargo can find libbacktrace |
