summaryrefslogtreecommitdiffstats
path: root/src/arch/riscv64
diff options
context:
space:
mode:
authorMichael Brown2025-05-06 13:07:38 +0200
committerMichael Brown2025-05-06 13:11:02 +0200
commit98646b9f016d9bff91a5c89f402aeb452ee7f84b (patch)
tree7e190d4b9c2c473ebbf0937b1390caed270cfe41 /src/arch/riscv64
parent[riscv] Add support for enabling 32-bit paging (diff)
downloadipxe-98646b9f016d9bff91a5c89f402aeb452ee7f84b.tar.gz
ipxe-98646b9f016d9bff91a5c89f402aeb452ee7f84b.tar.xz
ipxe-98646b9f016d9bff91a5c89f402aeb452ee7f84b.zip
[build] Allow for 32-bit and 64-bit versions of util/zbin
Parsing ELF data is simpler if we don't have to build a single binary to handle both 32-bit and 64-bit ELF formats. Allow for separate 32-bit and 64-bit binaries built from util/zbin.c (as is already done for util/elf2efi.c). Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/arch/riscv64')
-rw-r--r--src/arch/riscv64/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/arch/riscv64/Makefile b/src/arch/riscv64/Makefile
index 2fd18fc13..017fbacef 100644
--- a/src/arch/riscv64/Makefile
+++ b/src/arch/riscv64/Makefile
@@ -1,3 +1,7 @@
+# Specify compressor
+#
+ZBIN = $(ZBIN64)
+
# RISCV64-specific directories containing source files
#
SRCDIRS += arch/riscv64/core