summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2013-09-09 14:43:04 -0400
committerPeter Jones <pjones@redhat.com>2013-10-01 14:03:16 -0400
commit02388bcd58e73effdc828e8df9bbf5553c594835 (patch)
treee1b16add71b17317fd017b95a068b8f12f2e4e28 /Makefile
parent73de2ec2d81ea20ba9f55fc0c359abd43438ec11 (diff)
downloadefi-boot-shim-02388bcd58e73effdc828e8df9bbf5553c594835.tar.gz
efi-boot-shim-02388bcd58e73effdc828e8df9bbf5553c594835.zip
Make vendor_cert/vendor_dbx actually replaceable by an external tool.
This moves them both to be computed at runtime from a pointer+offset rather than just a pointer, so that their real address can be entirely derived from the section they're in. This means you can replace the whole .vendor_cert section with a new one with certs that don't have the same size.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 0 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 39ca7bfd..6f4adf12 100644
--- a/Makefile
+++ b/Makefile
@@ -68,9 +68,6 @@ shim.o: $(SOURCES) shim_cert.h
cert.o : cert.S
$(CC) $(CFLAGS) -c -o $@ $<
-dbx.o : dbx.S
- $(CC) $(CFLAGS) -c -o $@ $<
-
shim.so: $(OBJS) Cryptlib/libcryptlib.a Cryptlib/OpenSSL/libopenssl.a lib/lib.a
$(LD) -o $@ $(LDFLAGS) $^ $(EFI_LIBS)