commit | bbe5e1e6ebf4a1a66c023d834fbdfca22a98ee7d | [log] [tgz] |
---|---|---|
author | Yong Cong Sin <ycsin@meta.com> | Wed Jan 24 17:35:04 2024 +0800 |
committer | Henrik Brix Andersen <henrik@brixandersen.dk> | Tue May 28 22:03:55 2024 +0200 |
tree | 98e14c970330653b50142d186979912f85e9ea4d | |
parent | d034106b4035f26002c938f33ed59f6802ff235b [diff] |
build: namespace the generated headers with `zephyr/` Namespaced the generated headers with `zephyr` to prevent potential conflict with other headers. Introduce a temporary Kconfig `LEGACY_GENERATED_INCLUDE_PATH` that is enabled by default. This allows the developers to continue the use of the old include paths for the time being until it is deprecated and eventually removed. The Kconfig will generate a build-time warning message, similar to the `CONFIG_TIMER_RANDOM_GENERATOR`. Updated the includes path of in-tree sources accordingly. Most of the changes here are scripted, check the PR for more info. Signed-off-by: Yong Cong Sin <ycsin@meta.com>