diff options
| author | Gary Ching-Pang Lin <glin@suse.com> | 2012-09-11 16:38:29 +0800 |
|---|---|---|
| committer | Gary Ching-Pang Lin <glin@suse.com> | 2012-09-11 16:38:29 +0800 |
| commit | 481c1e1e76f8158d262589dc571f95623a74e846 (patch) | |
| tree | db3f281b599ddfce0456f7f2f13f9ceecac2041f /Makefile | |
| parent | 1395a9916b1467367d17d2de51f199fbe11dbfb4 (diff) | |
| download | efi-boot-shim-481c1e1e76f8158d262589dc571f95623a74e846.tar.gz efi-boot-shim-481c1e1e76f8158d262589dc571f95623a74e846.zip | |
Add a separate efi application to manage MOKs
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -28,9 +28,11 @@ LDFLAGS = -nostdlib -znocombreloc -T $(EFI_LDS) -shared -Bsymbolic -L$(EFI_PATH VERSION = 0.1 -TARGET = shim.efi +TARGET = shim.efi MokManager.efi OBJS = shim.o cert.o SOURCES = shim.c shim.h signature.h PeImage.h +MOK_OBJS = MokManager.o +MOK_SOURCES = MokManager.c shim.h all: $(TARGET) @@ -42,6 +44,11 @@ cert.o : cert.S shim.so: $(OBJS) Cryptlib/libcryptlib.a Cryptlib/OpenSSL/libopenssl.a cert.o $(LD) -o $@ $(LDFLAGS) $^ $(EFI_LIBS) +MokManager.o: $(SOURCES) + +MokManager.so: $(MOK_OBJS) Cryptlib/libcryptlib.a Cryptlib/OpenSSL/libopenssl.a + $(LD) -o $@ $(LDFLAGS) $^ $(EFI_LIBS) + Cryptlib/libcryptlib.a: $(MAKE) -C Cryptlib |
