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.
This commit is contained in:
Chris Coulson 2020-07-15 12:16:10 +01:00 committed by Javier Martinez Canillas
parent 9c64b6278c
commit 16f4f47f5c

View File

@ -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