diff options
Diffstat (limited to 'boot/Makefile')
| -rw-r--r-- | boot/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/boot/Makefile b/boot/Makefile index 7f4be6b..3c47336 100644 --- a/boot/Makefile +++ b/boot/Makefile @@ -14,6 +14,8 @@ CFLAGS += --target=$(ARCH)-unknown-windows -fshort-wchar -mno-avx \ -mno-sse -mno-mmx -funsigned-char -Wno-pointer-sign -ggdb \ -fno-ms-extensions +ASFLAGS += --target=$(ARCH)-unknown-windows -ggdb + LDFLAGS := --target=$(ARCH)-unknown-windows -nostdlib -ggdb \ -Wl,-entry:_start,-subsystem:efi_application -fuse-ld=lld-link @@ -22,7 +24,7 @@ all: $(IMAGE) CRT_OBJS := start.o bind.o LIB_OBJS := memcmp.o memset.o memcpy.o memmove.o string.o elf64.o printf.o stdio.o EFI_OBJS := file.o memory.o protocol.o image.o -APP_OBJS := main.o +APP_OBJS := main.o fake_syscall_entry.o OBJS := $(CRT_OBJS) $(LIB_OBJS) $(EFI_OBJS) $(APP_OBJS) DEPS := $(OBJS:.o=.d) |
