mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
lib: Create a new Kconfig option for charset conversion
Rather than looking at two KConfig options in the Makefile, create a new Kconfig option for compiling lib/charset.c Enable it for UFS also, which needs this support. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
This commit is contained in:
parent
6e3c6544c7
commit
1a46cb6c7e
2 changed files with 9 additions and 1 deletions
|
@ -40,6 +40,14 @@ config CC_OPTIMIZE_LIBS_FOR_SPEED
|
|||
|
||||
If unsure, say N.
|
||||
|
||||
config CHARSET
|
||||
bool
|
||||
default y if UT_UNICODE || EFI_LOADER || UFS
|
||||
help
|
||||
Enables support for various conversions between different
|
||||
character sets, such as between unicode representations and
|
||||
different 'code pages'.
|
||||
|
||||
config DYNAMIC_CRC_TABLE
|
||||
bool "Enable Dynamic tables for CRC"
|
||||
help
|
||||
|
|
|
@ -25,7 +25,7 @@ obj-$(CONFIG_AES) += aes/
|
|||
obj-$(CONFIG_$(SPL_TPL_)BINMAN_FDT) += binman.o
|
||||
|
||||
ifndef API_BUILD
|
||||
ifneq ($(CONFIG_UT_UNICODE)$(CONFIG_EFI_LOADER),)
|
||||
ifneq ($(CONFIG_CHARSET),)
|
||||
obj-y += charset.o
|
||||
endif
|
||||
endif
|
||||
|
|
Loading…
Reference in a new issue