Kconfig: flag LEGACY_INCLUDE_PATH as deprecated

Deprecate the LEGACY_INCLUDE_PATH so that it can be removed down the
road.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
This commit is contained in:
Fabio Baltieri 2022-08-05 07:49:28 +01:00 committed by Carles Cufí
parent 7ebaf1b10b
commit f9447aeff6

View File

@ -844,12 +844,11 @@ config COMPAT_INCLUDES
endmenu
config LEGACY_INCLUDE_PATH
bool "Allow for the legacy include paths (without the zephyr/ prefix)"
bool "Allow for the legacy include paths (without the zephyr/ prefix) (DEPRECATED)"
help
Allow applications and libraries to use the Zephyr legacy include
path which does not use the zephyr/ prefix. For example, the
DEPRECATED: Allow applications and libraries to use the Zephyr legacy
include path which does not use the zephyr/ prefix. For example, the
preferred way to include a Zephyr header is to use <zephyr/kernel.h>,
but enabling CONFIG_LEGACY_INCLUDE_PATH will allow developers to
use <kernel.h> instead. This (without the zephyr/ prefix) is
deprecated and should be avoided. Eventually, it will not be
supported.
but enabling CONFIG_LEGACY_INCLUDE_PATH will allow developers to use
<kernel.h> instead. This (without the zephyr/ prefix) is deprecated
and should be avoided. Eventually, it will not be supported.