cmake: add IMGTOOL optional dependency
This will be used in subsequent patches to integrate imgtool into the build when the user has set CONFIG_BOOTLOADER_MCUBOOT=y. Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
This commit is contained in:
parent
c32e90d2a5
commit
a0382cb925
1 changed files with 8 additions and 0 deletions
|
@ -57,5 +57,13 @@ find_program(
|
||||||
bossac
|
bossac
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# imgtool is an optional dependency (the build may also fall back to
|
||||||
|
# scripts/imgtool.py in the mcuboot repository if that's present in
|
||||||
|
# some cases)
|
||||||
|
find_program(
|
||||||
|
IMGTOOL
|
||||||
|
imgtool
|
||||||
|
)
|
||||||
|
|
||||||
# TODO: Should we instead find one qemu binary for each ARCH?
|
# TODO: Should we instead find one qemu binary for each ARCH?
|
||||||
# TODO: This will probably need to be re-organized when there exists more than one SDK.
|
# TODO: This will probably need to be re-organized when there exists more than one SDK.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue