diff options
| author | Michael Brown | 2026-01-21 13:55:12 +0100 |
|---|---|---|
| committer | Michael Brown | 2026-01-21 13:57:18 +0100 |
| commit | a42a15ae9155aad3a20b573a30b4027c4a286c58 (patch) | |
| tree | da4c42bbb3580fdb8e046dbac08e257ff304a3a2 /src/interface/linux | |
| parent | [ci] Update to ubuntu-24.04 GitHub actions runner (diff) | |
| download | ipxe-a42a15ae9155aad3a20b573a30b4027c4a286c58.tar.gz ipxe-a42a15ae9155aad3a20b573a30b4027c4a286c58.tar.xz ipxe-a42a15ae9155aad3a20b573a30b4027c4a286c58.zip | |
[build] Allow for per-architecture sysroots
As done for CROSS_COMPILE in commit 8fc11d8 ("[build] Allow for
per-architecture cross-compilation prefixes"), allow a default sysroot
for each architecture to be specified via the SYSROOT_<arch>
variables. These may then be provided as environment variables,
e.g. using
export SYSROOT_riscv32=/usr/riscv32-linux-gnu/sys-root
This is particularly useful for architectures such as RISC-V where the
64-bit compiler is also used to build 32-bit binaries, since in those
cases the compiler will default to using the 64-bit sysroot.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/interface/linux')
0 files changed, 0 insertions, 0 deletions
