File tree Expand file tree Collapse file tree 1 file changed +8
-16
lines changed
Expand file tree Collapse file tree 1 file changed +8
-16
lines changed Original file line number Diff line number Diff line change @@ -9,24 +9,16 @@ SIGN_ARGS=
99SIGN_ENC_ARGS =
1010DELTA_DATA_SIZE? =2000
1111
12- # python version only supported using
13- # KEYGEN_TOOL="python3 $(WOLFBOOT_ROOT)/tools/keytools/keygen.py"
14- ifeq ("$(KEYGEN_TOOL ) ","")
15- ifneq ("$(wildcard $(WOLFBOOT_ROOT)/tools/keytools/keygen.exe)","")
16- KEYGEN_TOOL=$(WOLFBOOT_ROOT)/tools/keytools/keygen.exe
17- else
18- KEYGEN_TOOL=$(WOLFBOOT_ROOT)/tools/keytools/keygen
19- endif
12+ ifneq ("$(wildcard $(WOLFBOOT_ROOT ) /tools/keytools/keygen.exe) ","")
13+ KEYGEN_TOOL=$(WOLFBOOT_ROOT)/tools/keytools/keygen.exe
14+ else
15+ KEYGEN_TOOL=$(WOLFBOOT_ROOT)/tools/keytools/keygen
2016endif
2117
22- # python version only supported using
23- # SIGN_TOOL="python3 $(WOLFBOOT_ROOT)/tools/keytools/sign.py"
24- ifeq ("$(SIGN_TOOL ) ","")
25- ifneq ("$(wildcard $(WOLFBOOT_ROOT)/tools/keytools/sign.exe)","")
26- SIGN_TOOL=$(WOLFBOOT_ROOT)/tools/keytools/sign.exe
27- else
28- SIGN_TOOL=$(WOLFBOOT_ROOT)/tools/keytools/sign
29- endif
18+ ifneq ("$(wildcard $(WOLFBOOT_ROOT ) /tools/keytools/sign.exe) ","")
19+ SIGN_TOOL=IMAGE_HEADER_SIZE=$(IMAGE_HEADER_SIZE) $(WOLFBOOT_ROOT)/tools/keytools/sign.exe
20+ else
21+ SIGN_TOOL=IMAGE_HEADER_SIZE=$(IMAGE_HEADER_SIZE) $(WOLFBOOT_ROOT)/tools/keytools/sign
3022endif
3123
3224# Make sign algorithm argument
You can’t perform that action at this time.
0 commit comments