X-Git-Url: https://code.delx.au/refind/blobdiff_plain/a0bab7e95672ae7438f7fdb806b9b167a5b04e07..e366a10e438344bd1331f2de89d177079a91ba76:/refind/Makefile diff --git a/refind/Makefile b/refind/Makefile index 844c443..402e33d 100644 --- a/refind/Makefile +++ b/refind/Makefile @@ -22,10 +22,10 @@ ifeq ($(ARCH),x86_64) endif LOCAL_CPPFLAGS = -I$(SRCDIR) -I$(SRCDIR)/../include -I$(SRCDIR)/../libeg -I$(SRCDIR)/../mok -LOCAL_LDFLAGS = -L$(SRCDIR)/../libeg/ -L$(SRCDIR)/../mok/ -LOCAL_LIBS = -leg -lmok +LOCAL_LDFLAGS = -L$(SRCDIR)/../libeg/ -L$(SRCDIR)/../mok/ -L$(SRCDIR)/../EfiLib/ +LOCAL_LIBS = -leg -lmok -lEfiLib -OBJS = main.o config.o menu.o screen.o icns.o lib.o driver_support.o +OBJS = main.o config.o menu.o screen.o icns.o gpt.o crc32.o lib.o driver_support.o legacy.o #OBJS = main.o config.o menu.o screen.o icns.o lib.o mok.o driver_support.o variables.o sha256.o pecoff.o simple_file.o security_policy.o guid.o all: $(TARGET) @@ -35,6 +35,7 @@ include $(SRCDIR)/../Make.common $(TARGET): $(SHLIB_TARGET) $(OBJCOPY) -j .text -j .sdata -j .data -j .dynamic -j .dynsym -j .rel \ -j .rela -j .reloc --target=$(FORMAT) $< $@ + chmod a-x $(TARGET) # EOF # DO NOT DELETE