openwrt/toolchain
Daniel Golle 996ae0e113 build: pass Rust variables to CMake packages
Pass the Rust target, selected compiler, Cargo executable and
Corrosion module location to CMake packages using rust-values.mk, told
by its include guard. Cargo goes as Rust_CARGO as well, which FindRust
of corrosion reads, as projects such as fish carry it; it looks in PATH
and in ~/.cargo/bin otherwise. Carry the target Cargo environment
through configure, build and install for both Ninja and Makefiles,
keeping native probes on the host sysroot.

Register the libstd build dependency and Rust configuration inputs for
target consumers. Package CMAKE_OPTIONS can override generated options.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2026-10-30 12:06:08 +02:00
..
binutils toolchain: binutils: fix default version selection 2026-06-26 19:04:24 +02:00
fortify-headers fortify-headers: fix -Werror=format-nonliteral in fortify/stdio.h 2026-02-17 01:29:51 +01:00
gcc toolchain: gcc: replace revision in version with toolchain hash 2026-10-11 20:10:55 +02:00
gdb toolchain: gdb: Update to version 16.3 2025-11-08 20:58:30 +01:00
glibc toolchain: glibc: Update to HEAD from release/2.43/master 2026-05-31 23:48:19 +02:00
kernel-headers
…
mold
…
musl toolchain: musl: fix multiple integer overflows in regcomp 2026-10-25 21:33:40 +01:00
nasm toolchain: nasm: update to 3.01 2025-11-20 21:23:23 +01:00
wrapper toolchain/wrapper: add missing qstrip to info.mk export 2025-06-23 13:30:15 +02:00
Config.in build: pass Rust variables to CMake packages 2026-10-30 12:06:08 +02:00
Makefile toolchain: gcc: replace revision in version with toolchain hash 2026-10-11 20:10:55 +02:00
build_version
…
info.mk
…