[PATCH v1 0/2] Fix host tools build without LIBCRYPTO support

2023-01-21 Thread Paul-Erwan Rio
A target-independent configuration exists to enable/disable crypto feature when building the host tools. But the crypto-free build is broken. Paul-Erwan Rio (2): tools: kwbimage: disable secure boot build without LIBCRYPTO support tools: fix build without LIBCRYPTO support include

[PATCH v1 1/2] tools: kwbimage: disable secure boot build without LIBCRYPTO support

2023-01-21 Thread Paul-Erwan Rio
The secure boot features cannot be built without 'LIBCRYPTO' enabled. This kind of reverts some of changes. Signed-off-by: Paul-Erwan Rio --- tools/kwbimage.c | 18 ++ 1 file changed, 18 insertions(+) diff --git a/tools/kwbimage.c b/tools/kwbimage.c index

[PATCH v1 2/2] tools: fix build without LIBCRYPTO support

2023-01-21 Thread Paul-Erwan Rio
Signed-off-by: Paul-Erwan Rio --- include/image.h| 2 +- tools/Kconfig | 1 + tools/fit_image.c | 2 +- tools/image-host.c | 2 ++ tools/mkimage.c| 5 +++-- 5 files changed, 8 insertions(+), 4 deletions(-) diff --git a/include/image.h b/include/image.h index 7717a4c13d..6a616d15fb

Re: [PATCH v1 1/2] tools: kwbimage: disable secure boot build without LIBCRYPTO support

2023-01-21 Thread Paul-Erwan RIO
Le sam. 21 janv. 2023 à 16:56, Pali Rohar a écrit : > > On Saturday 21 January 2023 16:47:41 Paul-Erwan Rio wrote: > > The secure boot features cannot be built without 'LIBCRYPTO' enabled. > > This kind of reverts some of > > changes. > > > > Signed-

Re: [PATCH v1 1/2] tools: kwbimage: disable secure boot build without LIBCRYPTO support

2023-01-21 Thread Paul-Erwan RIO
Le sam. 21 janv. 2023 à 17:21, Pali Rohar a écrit : > > On Saturday 21 January 2023 17:08:42 Paul-Erwan RIO wrote: > > Le sam. 21 janv. 2023 à 16:56, Pali Rohar a écrit : > > > > > > On Saturday 21 January 2023 16:47:41 Paul-Erwan Rio wrote: > > > >

Re: [PATCH v1 1/2] tools: kwbimage: disable secure boot build without LIBCRYPTO support

2023-01-21 Thread Paul-Erwan RIO
Le sam. 21 janv. 2023 à 17:35, Pali Rohar a écrit : > > On Saturday 21 January 2023 17:31:15 Paul-Erwan RIO wrote: > > Le sam. 21 janv. 2023 à 17:21, Pali Rohar a écrit : > > > > > > On Saturday 21 January 2023 17:08:42 Paul-Erwan RIO wrote: > > > > Le