diff options
author | Danny Holman <dholman@gymli.org> | 2025-10-15 19:47:38 -0500 |
---|---|---|
committer | Danny Holman <dholman@gymli.org> | 2025-10-15 19:47:38 -0500 |
commit | b3c8f16a7d83c792d87044d0650ddc73910cec7d (patch) | |
tree | 0f98bb64ad3001157de4cea47c7e6237f72ba712 /bootstrap/stage1/firmware | |
parent | bootstrap: update build configs (diff) | |
download | box-b3c8f16a7d83c792d87044d0650ddc73910cec7d.tar.gz box-b3c8f16a7d83c792d87044d0650ddc73910cec7d.tar.zst box-b3c8f16a7d83c792d87044d0650ddc73910cec7d.zip |
bootstrap: stage1: update build configuration
Update the build configuration in the first stage of the bootloader.
The new build files should take advantage of the modular makefile
configs in the project root or override them.
Signed-off-by: Danny Holman <dholman@gymli.org>
Diffstat (limited to 'bootstrap/stage1/firmware')
-rw-r--r-- | bootstrap/stage1/firmware/efi/make.conf | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/bootstrap/stage1/firmware/efi/make.conf b/bootstrap/stage1/firmware/efi/make.conf index 3b1615e..cee6fcd 100644 --- a/bootstrap/stage1/firmware/efi/make.conf +++ b/bootstrap/stage1/firmware/efi/make.conf @@ -1,14 +1,13 @@ LD:=lld-link -ifeq (BS_DEBUG,YES) - AFLAGS+=-gcodeview - CFLAGS+=-gcodeview +ifeq ($(BS_DEBUG),YES) + AFLAGS+=-gcodeview -gsplit-dwarf -gdwarf-4 + CFLAGS+=-gcodeview -gsplit-dwarf -gdwarf-4 endif CFLAGS+=-fshort-wchar LDFLAGS+=-subsystem:efi_application -out:$(BINARY) -FIRMWARE_OBJS=$(FIRMWARE_DIR)/efi.o \ - $(FIRMWARE_DIR)/bs_alloc.o \ +FIRMWARE_OBJS=$(FIRMWARE_DIR)/alloc.o \ + $(FIRMWARE_DIR)/efi.o \ $(FIRMWARE_DIR)/tty.o \ - $(FIRMWARE_DIR)/util.o \ |