mirror of https://github.com/openwrt/openwrt.git
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> |
||
|---|---|---|
| .. | ||
| binutils | ||
| fortify-headers | ||
| gcc | ||
| gdb | ||
| glibc | ||
| kernel-headers | ||
| mold | ||
| musl | ||
| nasm | ||
| wrapper | ||
| Config.in | ||
| Makefile | ||
| build_version | ||
| info.mk | ||