]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[build] Allow default platform to vary by architecture
authorMichael Brown <mcb30@ipxe.org>
Mon, 28 Oct 2024 18:22:14 +0000 (18:22 +0000)
committerMichael Brown <mcb30@ipxe.org>
Mon, 28 Oct 2024 18:34:55 +0000 (18:34 +0000)
commit7ccd08dbf4e257cadb3a9e61fec1f37afb19949e
tree8fa2d33f64ed76914c8dd7e512bd2bf8459b723a
parentd9c0d26e1775cb0e45b30ad6b36bae90abb1fc78
[build] Allow default platform to vary by architecture

Restructure the parsing of the build directory name from

  bin[[-<arch>]-<platform>]

to

  bin[-<arch>[-<platform>]]

and allow for a per-architecture default build platform.

For the sake of backwards compatibility, handle "bin-efi" as a special
case equivalent to "bin-i386-efi".

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/Makefile.housekeeping