diff options
author | Tom Rini <trini@konsulko.com> | 2021-07-28 18:51:16 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-07-28 18:51:16 -0400 |
commit | bbcacdf4cd23f2e5deb9ef916096c956c955243d (patch) | |
tree | 3065b9346139a0f30bc3f9e77f1ee27e8fba3fdd /lib | |
parent | 22ecb12132a2de80a08654f139ff978176034c38 (diff) | |
parent | 537892065ac1428a48193d4b0fa7bf827e8d0d44 (diff) |
Merge branch '2021-07-28-build-improvements'
- Assorted Makefile cleanups
- A few code / build cleanups
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Kconfig | 8 | ||||
-rw-r--r-- | lib/Makefile | 2 |
2 files changed, 9 insertions, 1 deletions
diff --git a/lib/Kconfig b/lib/Kconfig index ad4d75e0a40..fdcf7ea4050 100644 --- a/lib/Kconfig +++ b/lib/Kconfig @@ -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 diff --git a/lib/Makefile b/lib/Makefile index 5cd0c9c6389..07c2ccd7cfd 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -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 |