From patchwork Wed Apr 15 16:46:19 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heinrich Schuchardt X-Patchwork-Id: 237808 List-Id: U-Boot discussion From: xypron.glpk at gmx.de (Heinrich Schuchardt) Date: Wed, 15 Apr 2020 18:46:19 +0200 Subject: [PATCH 1/5] lib: do not build OID registry in SPL In-Reply-To: <20200415164623.142908-1-xypron.glpk@gmx.de> References: <20200415164623.142908-1-xypron.glpk@gmx.de> Message-ID: <20200415164623.142908-2-xypron.glpk@gmx.de> 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 --- lib/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) -- 2.25.1 diff --git a/lib/Makefile b/lib/Makefile index 32bf3f3693..5d4bb3232c 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -119,6 +119,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 @@ -127,8 +128,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 \