diff options
author | Rob Clark <robdclark@gmail.com> | 2017-09-09 06:47:41 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-09-12 17:57:59 -0400 |
commit | 274325c50951dd16ad2a6f45e79dc062ad47011b (patch) | |
tree | d015f4c6ec87b84b12153bbb17b817203b778c31 /examples/api | |
parent | 78178bb0c9dfe2a91a636a411291d8bab50e8a7d (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/api')
-rw-r--r-- | examples/api/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/api/Makefile b/examples/api/Makefile index dab6398bab..87c15d0f68 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 |