mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-24 19:30:04 +00:00
It is very inconvenient to maintain an application that both runs on a Zephyr board and an out-of-tree board. It forces one to write build scripts like this in the app: if(BOARD STREQUAL my_out_of_tree_board) set(BOARD_ROOT some/out/of/tree/board/path) endif() To avoid this we change the semantics of BOARD_ROOT. Instead of it being a path to the board root it is now a prioritized list of board root directories. Zephyr will append ZEPHYR_BASE to BOARD_ROOT. This ensures that Zephyr boards can be used when the out-of-tree board directory can not supply the requested board. Signed-off-by: Sebastian Bøe <sebastian.boe@nordicsemi.no> |
||
---|---|---|
.. | ||
app | ||
compiler | ||
emu | ||
flash | ||
reports | ||
toolchain | ||
usage | ||
util | ||
ccache.cmake | ||
dts.cmake | ||
extensions.cmake | ||
extra_flags.cmake | ||
fpu-for-gcc-m-cpu.cmake | ||
gcc-m-cpu.cmake | ||
hex.cmake | ||
host-tools-zephyr.cmake | ||
host-tools.cmake | ||
kconfig.cmake | ||
kobj.cmake | ||
pristine.cmake | ||
toolchain.cmake | ||
version.cmake |