On Thu, Dec 21, 2023 at 7:26 AM Alexander Dahl <a...@thorsis.com> wrote: > > From: Paul-Erwan Rio <paulerwan....@gmail.com> > > Commit cb9faa6f98ae ("tools: Use a single target-independent config to > enable OpenSSL") introduced a target-independent configuration to build > crypto features in host tools. > > But since commit 2c21256b27d7 ("hash: Use Kconfig to enable hashing in > host tools and SPL") the build without OpenSSL is broken, due to FIT > signature/encryption features. Add missing conditional compilation > tokens to fix this. > > Signed-off-by: Paul-Erwan Rio <paulerwan....@gmail.com> > Tested-by: Alexander Dahl <a...@thorsis.com> > Cc: Simon Glass <s...@chromium.org> > Reviewed-by: Tom Rini <tr...@konsulko.com> > --- > > Notes: > Added another guard around the header includes and slightly reworded the > commit message. Otherwise it's the same patch as before, so I kept the > author as is and only added my Tested-by: > I removed the Reviewed-by: from Simon from this patch, because of the > changes mentioned and because the patch was based on an U-Boot three or > four releases ago. > > v1 -> v2: > * collected tags > > include/image.h | 2 +- > tools/Kconfig | 1 + > tools/fit_image.c | 2 +- > tools/image-host.c | 4 ++++ > tools/mkimage.c | 5 +++-- > 5 files changed, 10 insertions(+), 4 deletions(-) >
Reviewed-by: Simon Glass <s...@chromium.org>