Skip to content
This repository was archived by the owner on Jan 25, 2022. It is now read-only.

Commit a6c7fa9

Browse files
author
f74064054@mail.ncku.edu.tw
committed
Add the new function for signature validation
1 parent 15c7424 commit a6c7fa9

File tree

5 files changed

+394
-857
lines changed

5 files changed

+394
-857
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ LDFLAGS = -lelf
88

99
RUN_TARGET := ./emu-rv32i
1010
WORK_DIR = work/rv32imc
11+
DIFF = $(diff a b)
1112

1213

1314
all: $(BINS)
@@ -20,7 +21,7 @@ test1: test1.c
2021

2122

2223
%.log: $(WORK_DIR)/%.elf
23-
$(RUN_TARGET) $< +signature=sig.txt
24+
$(RUN_TARGET) --elf $< --signature$(patsubst %.elf, %.signature.output, $<) --output sig.txt
2425

2526
check: $(BINS)
2627
./emu-rv32i test1

0 commit comments

Comments
 (0)