From: Heinrich Schuchardt Date: Wed, 15 Apr 2020 16:46:19 +0000 (+0200) Subject: lib: do not build OID registry in SPL X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=4f4d526f593de46a165342259c9cb9648c1e70d8;p=u-boot.git lib: do not build OID registry in SPL The OID registry is only used by crypto functions that are not built in SPL. So we should not build it in SPL. Fixes: a9b45e6e8382 ("lib: add oid registry utility") Signed-off-by: Heinrich Schuchardt Reviewed-by: Tom Rini --- diff --git a/lib/Makefile b/lib/Makefile index 5f88d92850..ded9a932aa 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -120,6 +120,7 @@ obj-$(CONFIG_$(SPL_TPL_)STRTO) += strto.o else # Main U-Boot always uses the full printf support obj-y += vsprintf.o strto.o +obj-$(CONFIG_OID_REGISTRY) += oid_registry.o endif obj-y += date.o @@ -128,8 +129,6 @@ obj-$(CONFIG_LIB_ELF) += elf.o # # Build a fast OID lookup registry from include/linux/oid_registry.h # -obj-$(CONFIG_OID_REGISTRY) += oid_registry.o - $(obj)/oid_registry.o: $(obj)/oid_registry_data.c $(obj)/oid_registry_data.c: $(srctree)/include/linux/oid_registry.h \