Skip to content
Snippets Groups Projects
Commit dac4d7e8 authored by Mike Frysinger's avatar Mike Frysinger Committed by Wolfgang Denk
Browse files

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: default avatarMike Frysinger <vapier@gentoo.org>
parent 7114596a
No related branches found
No related tags found
No related merge requests found
......@@ -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
/*
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment