zephyr/cmake/modules
Torsten Rasmussen af4a87af8e cmake: support relocating of a board folder
Fixes: #49116

During development of out-of-tree boards and applications it is not
uncommon to refactor / restructure code.

To allow developers more freedom, let's check that board's defconfig
still exists during a CMake re-run.
If the defconfig no longer exists, either because it's been moved or
deleted, then warn the user and set BOARD_DIR to NOTFOUND.

The NOTFOUND will request CMake to search for the new location in all
board roots. If the board has not been found, as example it's deleted,
then the existing error is printed later.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2022-09-22 17:14:20 +02:00
..
arch.cmake cmake: kconfig: introduce dedicated unit testing board 2022-08-18 14:29:14 +02:00
basic_settings.cmake cmake: extend zephyr_get() to handle build configurations from sysbuild 2022-09-02 15:16:50 +02:00
boards.cmake cmake: support relocating of a board folder 2022-09-22 17:14:20 +02:00
ccache.cmake
configuration_files.cmake cmake: extend zephyr_get() to handle build configurations from sysbuild 2022-09-02 15:16:50 +02:00
doc.cmake cmake: doc: created a doc.cmake CMake module in Zephyr CMake modules dir 2022-02-22 10:02:39 -08:00
dts.cmake cmake: rework of host tools and generic toolchain handling 2022-09-01 15:59:43 +02:00
extensions.cmake cmake: support grouping of compile options for compiler testing 2022-09-14 09:37:59 +00:00
FindDeprecated.cmake cmake: improve warning deprecation message 2022-09-07 15:38:36 +02:00
FindDtc.cmake cmake: cleanup search for devicetree compiler, dtc 2022-09-01 15:59:43 +02:00
FindHostTools.cmake cmake: locate Zephyr SDK before locating other host tools. 2022-09-02 19:41:15 +09:00
FindTargetTools.cmake cmake: rework of target toolchain handling 2022-09-01 15:59:43 +02:00
FindZephyr-sdk.cmake cmake: use zephyr_get in toolchains to ensure identical behavior. 2022-09-02 15:16:50 +02:00
kconfig.cmake cmake: extend zephyr_get() to handle build configurations from sysbuild 2022-09-02 15:16:50 +02:00
kernel.cmake cmake: rework of target toolchain handling 2022-09-01 15:59:43 +02:00
python.cmake cmake: Bump the minimum required Python version to 3.8 2022-08-24 18:35:57 +02:00
root.cmake cmake: kconfig: introduce dedicated unit testing board 2022-08-18 14:29:14 +02:00
shields.cmake devicetree: drop support for dts_fixup.h files 2022-08-11 12:17:02 +02:00
soc.cmake
unittest.cmake cmake: create test_interface interface library 2022-09-09 10:06:19 +02:00
user_cache.cmake scripts: move dir_is_writeable.py to scripts/build 2022-07-12 10:03:45 +02:00
version.cmake
west.cmake
zephyr_default.cmake cmake: extend zephyr_get() to handle build configurations from sysbuild 2022-09-02 15:16:50 +02:00
zephyr_module.cmake cmake: update common Zephyr build settings to use zephyr_get() 2022-09-02 15:16:50 +02:00