Skip to content

Commit cb9decc

Browse files
committed
mk: x86_fsp: stage1: don't remove fsp_s_signature file
it's needed to compute the hash of PCR TPM register
1 parent 6c5efe2 commit cb9decc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stage1/x86_fsp.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ sig_fsp_s.o: fsp_s.o $(SIGN_KEY) ../$(FSP_S_BIN)
3737
$(SIGN_TOOL) $(SIGN_OPTIONS) ../$(FSP_S_BIN) $(SIGN_KEY) 1
3838
@dd if=$(X86FSP_PATH)/fsp_s_v1_signed.bin of=$(X86FSP_PATH)/fsp_s_signature.bin bs=$(IMAGE_HEADER_SIZE) count=1
3939
$(OBJCOPY) -I binary -O elf32-i386 -B i386 --rename-section .data=.sig_fsp_s $(X86FSP_PATH)/fsp_s_signature.bin sig_fsp_s.o
40-
@rm -f $(X86FSP_PATH)/fsp_s_v1_signed.bin $(X86FSP_PATH)/fsp_s_signature.bin
40+
@rm -f $(X86FSP_PATH)/fsp_s_signature.bin
4141

4242
sig_wolfboot_raw.o: wolfboot_raw.bin $(SIGN_KEY)
4343
$(SIGN_TOOL) $(SIGN_OPTIONS) wolfboot_raw.bin $(SIGN_KEY) 1

0 commit comments

Comments
 (0)