spl: Avoid including hash algorithms which are not wanted
authorSimon Glass <sjg@chromium.org>
Sun, 26 Jan 2025 18:43:16 +0000 (11:43 -0700)
committerTom Rini <trini@konsulko.com>
Mon, 3 Feb 2025 22:01:36 +0000 (16:01 -0600)
commitc38b372f354082c4902c492ee849392c3fd6cd51
tree0ddd4dd585695d93e431a58ca9c29e6490645a76
parentb0407ace97d4961c09b7f5784527751a390a7044
spl: Avoid including hash algorithms which are not wanted

Update the build rule so that hash algorithms are only included in an
SPL build if they are requested. This helps to reduce code size.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
lib/Makefile