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