From 563286b7de047ffa2a2dd27f62c2b33ef03578ab Mon Sep 17 00:00:00 2001 From: Ada Christine Date: Sun, 26 Dec 2021 17:35:11 +0000 Subject: calls to EFI were in the wrong convention --- kc/boot/Makefile | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'kc') 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)) -- cgit v1.3.1-1-g115d