diff options
-rw-r--r-- | common/Kconfig | 7 | ||||
-rw-r--r-- | lib/Kconfig | 3 |
2 files changed, 10 insertions, 0 deletions
diff --git a/common/Kconfig b/common/Kconfig index 77410c958b..7386649a1a 100644 --- a/common/Kconfig +++ b/common/Kconfig @@ -1505,6 +1505,13 @@ config PBL_BREAK If enabled, barebox will be compiled with BKPT instruction on early pbl init. This option should be used only with JTAG debugger! +config PRINTF_FULL + bool "Support all extended printf format specifiers" + help + Adds support for lesser used format specifiers like UUIDs and + hex strings. Code requiring them should select it directly, + so this is mainly for debugging. If unsure, say no. + source "lib/Kconfig.ubsan" source "lib/kasan/Kconfig" diff --git a/lib/Kconfig b/lib/Kconfig index 27e7bea685..915ae7a287 100644 --- a/lib/Kconfig +++ b/lib/Kconfig @@ -162,12 +162,15 @@ config PROGRESS_NOTIFIER config PRINTF_UUID bool + default y if PRINTF_FULL config PRINTF_WCHAR bool + default y if PRINTF_FULL config PRINTF_HEXSTR bool + default y if PRINTF_FULL config GENERIC_LIB_ASHLDI3 bool |