summaryrefslogtreecommitdiffstats
path: root/lib/Makefile
diff options
context:
space:
mode:
authorAndrii Anisov <andrii_anisov@epam.com>2020-08-06 12:42:52 +0300
committerTom Rini <trini@konsulko.com>2020-08-14 15:18:30 -0400
commite87dfb0526be231de89b299531a0e637d343fccd (patch)
tree22321a741fed68f97ffc74287bc00660c7f5d39e /lib/Makefile
parent242587dca4a7e34023b4c87d5b52a74b2fe7255d (diff)
downloadu-boot-e87dfb0526be231de89b299531a0e637d343fccd.tar.gz
u-boot-e87dfb0526be231de89b299531a0e637d343fccd.tar.xz
u-boot-e87dfb0526be231de89b299531a0e637d343fccd.zip
lib: sscanf: add sscanf implementation
Port sscanf implementation from mini-os and introduce new Kconfig option to enable it: CONFIG_SSCANF. Disable by default. Signed-off-by: Andrii Anisov <andrii_anisov@epam.com> Signed-off-by: Anastasiia Lukianenko <anastasiia_lukianenko@epam.com> Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
Diffstat (limited to 'lib/Makefile')
-rw-r--r--lib/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Makefile b/lib/Makefile
index 1dc06c57d5..0cd7bea282 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -123,6 +123,7 @@ else
# Main U-Boot always uses the full printf support
obj-y += vsprintf.o strto.o
obj-$(CONFIG_OID_REGISTRY) += oid_registry.o
+obj-$(CONFIG_SSCANF) += sscanf.o
endif
obj-y += date.o