diff --git a/lib/cpp/Kconfig b/lib/cpp/Kconfig index b7e5fc6c6d4..da2d96ee2c4 100644 --- a/lib/cpp/Kconfig +++ b/lib/cpp/Kconfig @@ -81,7 +81,7 @@ config CPP_EXCEPTIONS help This option enables support of C++ exceptions. -config RTTI +config CPP_RTTI bool "C++ RTTI support" help This option enables support of C++ RTTI. diff --git a/lib/cpp/Kconfig.deprecated b/lib/cpp/Kconfig.deprecated index c5f9e152039..e52a40caf46 100644 --- a/lib/cpp/Kconfig.deprecated +++ b/lib/cpp/Kconfig.deprecated @@ -24,6 +24,15 @@ config EXCEPTIONS [DEPRECATED] Select CPP_EXCEPTIONS instead. +config RTTI + bool "[DEPRECATED] C++ RTTI support" + select CPP_RTTI + select DEPRECATED + help + This option enables support of C++ RTTI. + + [DEPRECATED] Select CPP_RTTI instead. + endif # LIB_CPLUSPLUS endmenu