diff options
Diffstat (limited to 'kc/boot/Makefile')
| -rw-r--r-- | kc/boot/Makefile | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/kc/boot/Makefile b/kc/boot/Makefile index e84330f..506c12b 100644 --- a/kc/boot/Makefile +++ b/kc/boot/Makefile @@ -1,4 +1,5 @@ include ../../defaults.mk +include ../../efi.mk include ../defaults.mk VPATH := ../../lib ../ @@ -6,17 +7,9 @@ VPATH := ../../lib ../ TARGET := efi.os .DEFAULT: $(TARGET) -# EFI API for temporary things - -EFIAPIDIR := /usr/local/include/efi - -CPPFLAGS += -I../../api -I$(EFIAPIDIR) -I$(EFIAPIDIR)/$(ARCH) -I$(EFIAPIDIR)/protocol -CFLAGS += -Wno-unused-const-variable -Wno-unused-function -fvisibility=hidden \ - -g -fshort-wchar -mgeneral-regs-only - +CPPFLAGS += -I../../api OBJS := entry_x86_64.o reloc_x86_64.o kc_main.o elf64.o memcmp.o memcpy.o \ memmove.o memset.o -$(OBJS): CFLAGS += -fPIC DEPS := $(patsubst %.o,%.d,$(OBJS)) |
