From 16f4f47f5c4662ff17bbd0149204522a4f94e1f5 Mon Sep 17 00:00:00 2001 From: Chris Coulson Date: Wed, 15 Jul 2020 12:16:10 +0100 Subject: Fix sbsign command usage The previous make target was passing all of the target's prerequisites as boot images to sbsign, causing it to fail. --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b9a5ccf7..fe860e23 100644 --- a/Makefile +++ b/Makefile @@ -235,7 +235,10 @@ endif ifneq ($(origin ENABLE_SBSIGN),undefined) %.efi.signed: %.efi shim.key shim.crt - $(SBSIGN) --key shim.key --cert shim.crt --output $@ $< + @$(SBSIGN) \ + --key certdb/shim.key \ + --cert certdb/shim.crt \ + --output $@ $< else %.efi.signed: %.efi certdb/secmod.db $(PESIGN) -n certdb -i $< -c "shim" -s -o $@ -f -- cgit v1.2.3