File tree 3 files changed +5
-5
lines changed
test/testdata/platform_with_secure_boot
3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -23,12 +23,12 @@ recipe.hooks.objcopy.postobjcopy.1.pattern={build.postbuild.cmd}
23
23
# IMGTOOL
24
24
#
25
25
tools.imgtool.cmd=imgtool
26
- tools.imgtool.build.pattern =sign --key "{build.keys.keychain}/{build.keys.sign_key}" --encrypt "{build.keys.keychain}/{build.keys.encrypt_key}" "{build.path}/{build.project_name}.bin" "{build.path}/{build.project_name}.bin" --align {build.alignment} --max-align {build.alignment} --version {build.version} --header-size {build.header_size} --pad-header --slot-size {build.slot_size}
26
+ tools.imgtool.flags =sign --key "{build.keys.keychain}/{build.keys.sign_key}" --encrypt "{build.keys.keychain}/{build.keys.encrypt_key}" "{build.path}/{build.project_name}.bin" "{build.path}/{build.project_name}.bin" --align {build.alignment} --max-align {build.alignment} --version {build.version} --header-size {build.header_size} --pad-header --slot-size {build.slot_size}
27
27
[...]
28
28
29
29
```
30
30
31
- By having only ` tools.TOOL_NAME.cmd ` and ` tools.TOOL_NAME.build.pattern ` , we can customize the behavior with a
31
+ By having only ` tools.TOOL_NAME.cmd ` and ` tools.TOOL_NAME.falgs ` , we can customize the behavior with a
32
32
[ custom board option] ( ../platform-specification.md#custom-board-options ) . Then in the
33
33
[ ` boards.txt ` ] ( ../platform-specification.md#boardstxt ) we can define the new option to use a different ` postbuild.cmd ` :
34
34
@@ -39,7 +39,7 @@ menu.security=Security setting
39
39
envie_m7.menu.security.none=None
40
40
envie_m7.menu.security.sien=Signature + Encryption
41
41
42
- envie_m7.menu.security.sien.build.postbuild.cmd="{tools.imgtool.cmd}" {tools.imgtool.build.pattern }
42
+ envie_m7.menu.security.sien.build.postbuild.cmd="{tools.imgtool.cmd}" {tools.imgtool.flags }
43
43
envie_m7.menu.security.none.build.postbuild.cmd="{tools.imgtool.cmd}" exit
44
44
45
45
envie_m7.menu.security.sien.build.keys.keychain={runtime.hardware.path}/Default_Keys
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ menu.security=Security setting
3
3
uno.menu.security.none=None
4
4
uno.menu.security.sien=Signature + Encryption
5
5
6
- uno.menu.security.sien.build.postbuild.cmd="{tools.imgtool.cmd}" {tools.imgtool.build.pattern }
6
+ uno.menu.security.sien.build.postbuild.cmd="{tools.imgtool.cmd}" {tools.imgtool.flags }
7
7
uno.menu.security.none.build.postbuild.cmd="{tools.imgtool.cmd}" exit
8
8
9
9
uno.menu.security.sien.build.keys.keychain={runtime.hardware.path}/Default_Keys
Original file line number Diff line number Diff line change @@ -5,4 +5,4 @@ recipe.hooks.objcopy.postobjcopy.1.pattern={build.postbuild.cmd}
5
5
#
6
6
7
7
tools.imgtool.cmd=echo
8
- tools.imgtool.build.pattern =sign --key "{build.keys.keychain}/{build.keys.sign_key}" --encrypt "{build.keys.keychain}/{build.keys.encrypt_key}" "{build.path}/{build.project_name}.bin" "{build.path}/{build.project_name}.bin" --align {build.alignment} --max-align {build.alignment} --version {build.version} --header-size {build.header_size} --pad-header --slot-size {build.slot_size}
8
+ tools.imgtool.flags =sign --key "{build.keys.keychain}/{build.keys.sign_key}" --encrypt "{build.keys.keychain}/{build.keys.encrypt_key}" "{build.path}/{build.project_name}.bin" "{build.path}/{build.project_name}.bin" --align {build.alignment} --max-align {build.alignment} --version {build.version} --header-size {build.header_size} --pad-header --slot-size {build.slot_size}
You can’t perform that action at this time.
0 commit comments