zephyr/cmake
Sebastian Bøe d6de4c7a99 cmake: Fall back to ZEPHYR_BASE when the board is not in BOARD_ROOT
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>
2018-10-01 09:46:46 -04:00
..
app cmake: Fall back to ZEPHYR_BASE when the board is not in BOARD_ROOT 2018-10-01 09:46:46 -04:00
compiler kconfig: Make CONIG_FP_SOFTABI generate floating point instructions 2018-09-19 10:13:30 -04:00
emu qemu: support alternate path of qemu binaries 2018-08-22 15:44:53 -07:00
flash cmake: Add build system target for west attach command 2018-09-26 08:06:41 +05:30
reports
toolchain
usage cmake: Fall back to ZEPHYR_BASE when the board is not in BOARD_ROOT 2018-10-01 09:46:46 -04:00
util
ccache.cmake
dts.cmake cmake: Misc. cleanups of how BOARD_ROOT and BOARD_DIR are used 2018-10-01 09:46:46 -04:00
extensions.cmake cmake: Fall back to ZEPHYR_BASE when the board is not in BOARD_ROOT 2018-10-01 09:46:46 -04:00
extra_flags.cmake
fpu-for-gcc-m-cpu.cmake
gcc-m-cpu.cmake
hex.cmake
host-tools-zephyr.cmake
host-tools.cmake
kconfig.cmake kconfig: Change the format of KERNELVERSION 2018-10-01 09:16:05 -04:00
kobj.cmake
pristine.cmake
toolchain.cmake cmake: Add quotes to handle missing ZEPHYR_TOOLCHAIN_VARIANT variable 2018-09-24 15:57:09 +02:00
version.cmake cmake: version: Misc. refactorings for readability 2018-10-01 09:16:05 -04:00