diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2020-04-15 18:46:19 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-04-24 10:51:32 -0400 |
commit | 4f4d526f593de46a165342259c9cb9648c1e70d8 (patch) | |
tree | d8fb9bed2d475fa86f73ea461c44931fae915703 /lib/Makefile | |
parent | b21c08a12b8ebeea0cb77830d662ee118245774e (diff) | |
download | u-boot-4f4d526f593de46a165342259c9cb9648c1e70d8.tar.gz |
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 <xypron.glpk@gmx.de>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'lib/Makefile')
-rw-r--r-- | lib/Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
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 \ |