X-Git-Url: https://code.delx.au/refind/blobdiff_plain/fde5d6e97a5ec6c37eaa79ff05729d72b31133ef..e0f6b77e5692ec112bb803202ae27f8c5d55de50:/refind/Makefile diff --git a/refind/Makefile b/refind/Makefile index 221016a..eb98140 100644 --- a/refind/Makefile +++ b/refind/Makefile @@ -26,11 +26,15 @@ LOCAL_CPPFLAGS = -I$(SRCDIR) -I$(SRCDIR)/../include -I$(SRCDIR)/../libeg LOCAL_LDFLAGS = -L$(SRCDIR)/../libeg/ LOCAL_LIBS = -leg -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 lib.o mok.o driver_support.o all: $(TARGET) 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) $< $@ + # EOF # DO NOT DELETE