summaryrefslogtreecommitdiff
path: root/bootstrap/stage1/firmware
diff options
context:
space:
mode:
authorDanny Holman <dholman@gymli.org>2025-08-28 08:36:42 -0500
committerDanny Holman <dholman@gymli.org>2025-08-28 08:36:42 -0500
commita3085f5b9309c659c58282b4e50d955dcb0c0b7f (patch)
tree0b41f921d7d4e40b96392149be291542648e1f68 /bootstrap/stage1/firmware
parentbootstrap: create build files (diff)
downloadbox-master.tar.gz
box-master.tar.zst
box-master.zip
bootstrap: update build configsHEADmaster
Update the build configuration files for the included bootloader to match the formatting requirements of the main build configs. Signed-off-by: Danny Holman <dholman@gymli.org>
Diffstat (limited to '')
-rw-r--r--bootstrap/stage1/firmware/efi/make.conf14
1 files changed, 14 insertions, 0 deletions
diff --git a/bootstrap/stage1/firmware/efi/make.conf b/bootstrap/stage1/firmware/efi/make.conf
new file mode 100644
index 0000000..3b1615e
--- /dev/null
+++ b/bootstrap/stage1/firmware/efi/make.conf
@@ -0,0 +1,14 @@
+LD:=lld-link
+
+ifeq (BS_DEBUG,YES)
+ AFLAGS+=-gcodeview
+ CFLAGS+=-gcodeview
+endif
+
+CFLAGS+=-fshort-wchar
+LDFLAGS+=-subsystem:efi_application -out:$(BINARY)
+
+FIRMWARE_OBJS=$(FIRMWARE_DIR)/efi.o \
+ $(FIRMWARE_DIR)/bs_alloc.o \
+ $(FIRMWARE_DIR)/tty.o \
+ $(FIRMWARE_DIR)/util.o \