summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorRob Clark <robdclark@gmail.com>2017-09-09 06:47:41 -0400
committerTom Rini <trini@konsulko.com>2017-09-12 17:57:59 -0400
commit274325c50951dd16ad2a6f45e79dc062ad47011b (patch)
treed015f4c6ec87b84b12153bbb17b817203b778c31 /examples
parent78178bb0c9dfe2a91a636a411291d8bab50e8a7d (diff)
vsprintf.c: add UTF-16 string (%ls) support
This is convenient for efi_loader which deals a lot with UTF-16. Only enabled with CC_SHORT_WCHAR, leaving room to add a UTF-32 version when CC_SHORT_WCHAR is not enabled. Signed-off-by: Rob Clark <robdclark@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'examples')
-rw-r--r--examples/api/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/api/Makefile b/examples/api/Makefile
index dab6398bab8..87c15d0f683 100644
--- a/examples/api/Makefile
+++ b/examples/api/Makefile
@@ -34,6 +34,7 @@ EXT_COBJ-y += lib/div64.o
EXT_COBJ-y += lib/string.o
EXT_COBJ-y += lib/time.o
EXT_COBJ-y += lib/vsprintf.o
+EXT_COBJ-y += lib/charset.o
EXT_SOBJ-$(CONFIG_PPC) += arch/powerpc/lib/ppcstring.o
ifeq ($(ARCH),arm)
EXT_SOBJ-$(CONFIG_USE_ARCH_MEMSET) += arch/arm/lib/memset.o