summaryrefslogtreecommitdiff
path: root/debian/patches/fix_makefile_phony.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/fix_makefile_phony.patch')
-rw-r--r--debian/patches/fix_makefile_phony.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/debian/patches/fix_makefile_phony.patch b/debian/patches/fix_makefile_phony.patch
new file mode 100644
index 00000000..8a8d4749
--- /dev/null
+++ b/debian/patches/fix_makefile_phony.patch
@@ -0,0 +1,22 @@
+From: Mathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com>
+Subject: Fix Makefile to successfully build for shim with cert and sbsign
+
+sbsign needs shim.key and shim.crt, but the only target that exists in
+makefile is shim.crt. shim.key is a side-effect building shim.crt.
+
+---
+ Makefile | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+Index: b/Makefile
+===================================================================
+--- a/Makefile
++++ b/Makefile
+@@ -362,6 +362,6 @@ archive: tag
+ @rm -rf /tmp/shim-$(VERSION)
+ @echo "The archive is in shim-$(VERSION).tar.bz2"
+
+-.PHONY : install-deps
++.PHONY : install-deps shim.key
+
+ export ARCH CC LD OBJCOPY EFI_INCLUDE