summaryrefslogtreecommitdiff
path: root/shim/Makefile
diff options
context:
space:
mode:
authorAda Christine <adachristine18@gmail.com>2021-12-19 22:41:15 +0000
committerAda Christine <adachristine18@gmail.com>2021-12-19 22:41:15 +0000
commite303a03e7c96bc5bf7fa93f7b46ce63196893d7a (patch)
treef187b374feec85015d6df1f94db618a3f5cc893f /shim/Makefile
parentbff63a4337eb3388617d230970c5eb2684d6a215 (diff)
moving files around
Diffstat (limited to 'shim/Makefile')
-rw-r--r--shim/Makefile37
1 files changed, 0 insertions, 37 deletions
diff --git a/shim/Makefile b/shim/Makefile
deleted file mode 100644
index 7183088..0000000
--- a/shim/Makefile
+++ /dev/null
@@ -1,37 +0,0 @@
-include ../defaults.mk
-
-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
-
-LIBDIRS += -L$(dir $(shell $(CC) -print-libgcc-file-name))
-LDSCRIPT := ../lib/component.ld
-LDFLAGS += -z max-page-size=4096 --export-dynamic -pic --no-dynamic-linker
-LOADLIBES := -lgcc
-
-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))
-
-$(TARGET): $(LDSCRIPT) $(MAKEFILE_LIST)
-$(TARGET): $(OBJS)
-
-CLEANLIST := $(wildcard $(OBJS) $(TARGET))
-DCLEANLIST := $(wildcard $(DEPS))
-
-include ../rules.mk
--include $(DEPS)
-
-.DEFAULT: $(TARGET)
-