1
0
mirror of https://xff.cz/git/u-boot/ synced 2026-01-06 17:09:18 +01:00

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>
This commit is contained in:
Mike Frysinger
2010-01-17 21:08:00 -05:00
committed by Wolfgang Denk
parent 7114596a7d
commit dac4d7e884
2 changed files with 2 additions and 1 deletions

View File

@@ -56,6 +56,7 @@
#include <libfdt.h>
#include <fdt_support.h>
#define CONFIG_MD5 /* FIT images need MD5 support */
#define CONFIG_SHA1 /* and SHA1 */
#endif
/*

View File

@@ -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