mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-11 07:24:46 +00:00
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>
This commit is contained in:
parent
b0407ace97
commit
c38b372f35
1 changed files with 5 additions and 5 deletions
10
lib/Makefile
10
lib/Makefile
|
@ -79,11 +79,11 @@ obj-$(CONFIG_$(XPL_)RSA) += rsa/
|
|||
obj-$(CONFIG_HASH) += hash-checksum.o
|
||||
obj-$(CONFIG_BLAKE2) += blake2/blake2b.o
|
||||
|
||||
obj-$(CONFIG_$(XPL_)MD5_LEGACY) += md5.o
|
||||
obj-$(CONFIG_$(XPL_)SHA1_LEGACY) += sha1.o
|
||||
obj-$(CONFIG_$(XPL_)SHA256) += sha256_common.o
|
||||
obj-$(CONFIG_$(XPL_)SHA256_LEGACY) += sha256.o
|
||||
obj-$(CONFIG_$(XPL_)SHA512_LEGACY) += sha512.o
|
||||
obj-$(CONFIG_$(PHASE_)MD5_LEGACY) += md5.o
|
||||
obj-$(CONFIG_$(PHASE_)SHA1_LEGACY) += sha1.o
|
||||
obj-$(CONFIG_$(PHASE_)SHA256) += sha256_common.o
|
||||
obj-$(CONFIG_$(PHASE_)SHA256_LEGACY) += sha256.o
|
||||
obj-$(CONFIG_$(PHASE_)SHA512_LEGACY) += sha512.o
|
||||
|
||||
obj-$(CONFIG_CRYPT_PW) += crypt/
|
||||
obj-$(CONFIG_$(XPL_)ASN1_DECODER_LEGACY) += asn1_decoder.o
|
||||
|
|
Loading…
Add table
Reference in a new issue