summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com>2017-09-14 14:28:44 -0700
committerPeter Jones <pjones@redhat.com>2017-09-14 18:07:10 -0400
commit35fd2c170cadfd50670d55fbcbf9cb2f4d4f1868 (patch)
tree351ca3bc6bfee7e0a13a5243e366134d3a812fe2
parentb71838a35a6152f9fc449e3c124a4c1cdcd8e23a (diff)
downloadefi-boot-shim-35fd2c170cadfd50670d55fbcbf9cb2f4d4f1868.tar.gz
efi-boot-shim-35fd2c170cadfd50670d55fbcbf9cb2f4d4f1868.zip
Don't build shim_cert.h in parallel with other targets.
shim_cert.h is required by other pieces (such as netboot.o, cert.o) and might not be built by the time these targets are reached. In that case the build would fail as it can't find a required header. Signed-off-by: Mathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com>
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 7cd37303..cb8fe817 100644
--- a/Makefile
+++ b/Makefile
@@ -167,6 +167,7 @@ shim.crt:
shim.cer: shim.crt
$(OPENSSL) x509 -outform der -in $< -out $@
+.NOTPARALLEL: shim_cert.h
shim_cert.h: shim.cer
echo "static UINT8 shim_cert[] = {" > $@
$(HEXDUMP) -v -e '1/1 "0x%02x, "' $< >> $@