diff options
author | Danny Holman <dholman@gymli.org> | 2025-08-28 08:36:42 -0500 |
---|---|---|
committer | Danny Holman <dholman@gymli.org> | 2025-08-28 08:36:42 -0500 |
commit | a3085f5b9309c659c58282b4e50d955dcb0c0b7f (patch) | |
tree | 0b41f921d7d4e40b96392149be291542648e1f68 /bootstrap/stage1/firmware | |
parent | bootstrap: create build files (diff) | |
download | box-a3085f5b9309c659c58282b4e50d955dcb0c0b7f.tar.gz box-a3085f5b9309c659c58282b4e50d955dcb0c0b7f.tar.zst box-a3085f5b9309c659c58282b4e50d955dcb0c0b7f.zip |
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 'bootstrap/stage1/firmware')
-rw-r--r-- | bootstrap/stage1/firmware/efi/make.conf | 14 |
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 \ |