|
|
|
@ -1,7 +1,7 @@
|
|
|
|
|
diff -up sbsigntools-0.9.1/configure.ac.orig sbsigntools-0.9.1/configure.ac
|
|
|
|
|
--- sbsigntools-0.9.1/configure.ac.orig 2018-02-21 17:48:52.000000001 +0100
|
|
|
|
|
+++ sbsigntools-0.9.1/configure.ac 2018-07-25 11:08:39.869451195 +0200
|
|
|
|
|
@@ -64,13 +64,13 @@ PKG_CHECK_MODULES(uuid, uuid,
|
|
|
|
|
diff -up sbsigntools-0.9.2/configure.ac.orig sbsigntools-0.9.2/configure.ac
|
|
|
|
|
--- sbsigntools-0.9.2/configure.ac.orig 2019-02-28 01:20:11.000000000 +0100
|
|
|
|
|
+++ sbsigntools-0.9.2/configure.ac 2019-02-28 10:55:56.214136475 +0100
|
|
|
|
|
@@ -64,8 +64,8 @@ PKG_CHECK_MODULES(uuid, uuid,
|
|
|
|
|
AC_MSG_ERROR([libuuid (from the uuid package) is required]))
|
|
|
|
|
|
|
|
|
|
dnl gnu-efi headers require extra include dirs
|
|
|
|
@ -12,15 +12,9 @@ diff -up sbsigntools-0.9.1/configure.ac.orig sbsigntools-0.9.1/configure.ac
|
|
|
|
|
|
|
|
|
|
##
|
|
|
|
|
# no consistent view of where gnu-efi should dump the efi stuff, so find it
|
|
|
|
|
##
|
|
|
|
|
-for path in /lib /lib64 /usr/lib /usr/lib64 /usr/lib32 /lib/efi /lib64/efi /usr/lib/efi /usr/lib64/efi; do
|
|
|
|
|
+for path in /lib /lib64 /usr/lib /usr/lib64 /usr/lib32 /lib/efi /lib64/efi /usr/lib/efi /usr/lib64/efi /usr/lib/gnuefi /usr/lib64/gnuefi ; do
|
|
|
|
|
if test -e $path/crt0-efi-$EFI_ARCH.o; then
|
|
|
|
|
CRTPATH=$path
|
|
|
|
|
fi
|
|
|
|
|
diff -up sbsigntools-0.9.1/tests/Makefile.am.orig sbsigntools-0.9.1/tests/Makefile.am
|
|
|
|
|
--- sbsigntools-0.9.1/tests/Makefile.am.orig 2018-02-21 17:48:52.000000001 +0100
|
|
|
|
|
+++ sbsigntools-0.9.1/tests/Makefile.am 2018-07-25 12:20:00.188006224 +0200
|
|
|
|
|
diff -up sbsigntools-0.9.2/tests/Makefile.am.orig sbsigntools-0.9.2/tests/Makefile.am
|
|
|
|
|
--- sbsigntools-0.9.2/tests/Makefile.am.orig 2019-02-28 01:20:11.000000000 +0100
|
|
|
|
|
+++ sbsigntools-0.9.2/tests/Makefile.am 2019-02-28 10:55:14.399450851 +0100
|
|
|
|
|
@@ -14,7 +14,7 @@ if TEST_BINARY_FORMAT
|
|
|
|
|
EFILDFLAGS = --defsym=EFI_SUBSYSTEM=0x0a
|
|
|
|
|
FORMAT = -O binary
|
|
|
|
@ -34,8 +28,8 @@ diff -up sbsigntools-0.9.1/tests/Makefile.am.orig sbsigntools-0.9.1/tests/Makefi
|
|
|
|
|
$(FORMAT) $^ $@
|
|
|
|
|
|
|
|
|
|
.$(OBJEXT).elf:
|
|
|
|
|
- $(LD) $(EFILDFLAGS) -nostdlib -L $(CRTPATH) -shared -Bsymbolic $(CRTPATH)/crt0-efi-$(EFI_ARCH).o -T elf_$(EFI_ARCH)_efi.lds $< -o $@ -lefi -lgnuefi
|
|
|
|
|
+ $(LD) $(EFILDFLAGS) -nostdlib -L $(CRTPATH) -shared -Bsymbolic $(CRTPATH)/crt0-efi-$(EFI_ARCH).o -T elf_$(EFI_ARCH)_efi.lds $< -o $@ @libdir@/libefi.a @libdir@/libgnuefi.a
|
|
|
|
|
- $(LD) $(EFILDFLAGS) -nostdlib -L /usr/lib -L /usr/lib64 -L $(CRTPATH) -shared -Bsymbolic $(CRTPATH)/crt0-efi-$(EFI_ARCH).o -T elf_$(EFI_ARCH)_efi.lds $< -o $@ -lefi -lgnuefi
|
|
|
|
|
+ $(LD) $(EFILDFLAGS) -nostdlib -L /usr/lib -L /usr/lib64 -L $(CRTPATH) -shared -Bsymbolic $(CRTPATH)/crt0-efi-$(EFI_ARCH).o -T elf_$(EFI_ARCH)_efi.lds $< -o $@ @libdir@/libefi.a @libdir@/libgnuefi.a
|
|
|
|
|
|
|
|
|
|
AM_CFLAGS=-fpic -I/usr/include/efi -I/usr/include/efi/$(EFI_ARCH)
|
|
|
|
|
|
|
|
|
|