summaryrefslogtreecommitdiff
path: root/bootstrap/stage1/firmware
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap/stage1/firmware')
-rw-r--r--bootstrap/stage1/firmware/efi/make.conf11
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 \