Skip to content
Commit 1ec0c6f5 authored by Yuval Peress's avatar Yuval Peress Committed by Carles Cufí
Browse files

build: make non zephyr/ include prefix configurable



Add a Kconfig to disable non prefixed includes. By setting
`CONFIG_LEGACY_INCLUDE_PATH=n` developers can disable having
`include/zephyr` in the search path. This means that includes such
as `#include <kernel.h>` will no longer work.

Internally, every header should be updated to add the `zephyr/`
prefix to the headers. Only then, will developers be able to use
this config value for their applications.

Signed-off-by: default avatarYuval Peress <peress@google.com>
parent 53ef68d4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment