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 build: Replace GCC ARM Embedded with GNU Arm Embedded 2018-08-09 13:57:55 +02:00
usage cmake: Fall back to ZEPHYR_BASE when the board is not in BOARD_ROOT 2018-10-01 09:46:46 -04:00
util cmake: Rename process.cmake to reflect contents 2018-07-12 23:11:46 -04:00
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 arch: arm: update compile options for DSP 2018-07-03 12:17:13 -05:00
hex.cmake
host-tools-zephyr.cmake toolchain: require Zephyr SDK 0.9.3 2018-07-08 15:39:35 -04:00
host-tools.cmake build: Replace GCC ARM Embedded with GNU Arm Embedded 2018-08-09 13:57:55 +02:00
kconfig.cmake kconfig: Change the format of KERNELVERSION 2018-10-01 09:16:05 -04:00
kobj.cmake userspace: generate list of kernel object sizes 2018-05-16 17:32:59 -07:00
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