diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-01-17 21:08:00 -0500 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-01-21 22:21:22 +0100 |
commit | dac4d7e8849d275023ea2fcae6caf941db91c042 (patch) | |
tree | ac3b7725ea9baa1f4136ca8b6ab7ca18dfd22189 /lib_generic | |
parent | 7114596a7d27798878f1d7170c2199bf88ba8418 (diff) |
sha1: add dedicated config option
The sha1 code is currently compiled for everyone, but in reality, it's
only used by the FIT code. So make it optional just like MD5.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'lib_generic')
-rw-r--r-- | lib_generic/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib_generic/Makefile b/lib_generic/Makefile index c17179cbc83..4b8ed3ad502 100644 --- a/lib_generic/Makefile +++ b/lib_generic/Makefile @@ -42,7 +42,7 @@ COBJS-y += lmb.o COBJS-y += ldiv.o COBJS-$(CONFIG_MD5) += md5.o COBJS-y += net_utils.o -COBJS-y += sha1.o +COBJS-$(CONFIG_SHA1) += sha1.o COBJS-$(CONFIG_SHA256) += sha256.o COBJS-y += string.o COBJS-y += strmhz.o |