From d27f6782d0ab03de82db54ec63e7cce1d42eeb55 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Mon, 24 Apr 2023 18:47:16 -0700 Subject: [PATCH] lib/cpp: Allow REQUIRES_FULL_LIBCPP to be selected by applications Add a prompt to the Kconfig symbol so that applications can select this in to guide C++ standard library selection towards configurations which provide a complete implementation. Signed-off-by: Keith Packard --- lib/cpp/Kconfig | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/lib/cpp/Kconfig b/lib/cpp/Kconfig index 131415b87aad..d50bb350b326 100644 --- a/lib/cpp/Kconfig +++ b/lib/cpp/Kconfig @@ -57,14 +57,12 @@ config STD_CPP2B endchoice config REQUIRES_FULL_LIBCPP - bool + bool "Require complete C++ standard library" select REQUIRES_FULL_LIBC help - Helper symbol to indicate that a full C++ standard library - implementation is required. - - Select this from a symbol that enables a feature requiring a full - C++ standard library implementation. + Indicates that a full C++ standard library is required, either by + a subsystem or an application. This will also include a full C + library implementation. choice LIBCPP_IMPLEMENTATION prompt "C++ Standard Library Implementation"