spl: crypto: fix including SHA* object files in SPL
authorOleksandr Suvorov <oleksandr.suvorov@foundries.io>
Wed, 23 Aug 2023 14:56:27 +0000 (17:56 +0300)
committerTom Rini <trini@konsulko.com>
Mon, 28 Aug 2023 19:59:22 +0000 (15:59 -0400)
commit70bd47198402f5faea381428639ced55e893f70b
treee7dbadb295293ac1120793d86a9ea89793e4b118
parent04f7e9538557072500d96447438a4d35f2a64204
spl: crypto: fix including SHA* object files in SPL

If one of SHA* algorithms is disabled in u-boot, its code is not
included in SPL even if a given SHA* option is enabled in SPL. Fix
this.

Fixes: 603d15a572d ("spl: cypto: Bring back SPL_ versions of SHA")
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>
Reviewed-by: Tom Rini <trini@konsulko.com>
lib/Makefile