zephyr/cmake
Torsten Rasmussen 5f7cc8ded9 cmake: kconfig: support for multiple SOC_ROOT
This commit introduces support for multiple SOC_ROOT.

This means that additional SOC_ROOTs specified using -DSOC_ROOT as
argument to CMake will be forming a list together with ${ZEPHYR_BASE}.

This allows for greater flexibility, as developers can now specify
multiple out-of-tree SoCs and not worry about the SoC used for the
board they compile for.

Also it avoid code, such as:
if(BOARD STREQUAL my_board_using_out_of_tree_soc)
  set(SOC_ROOT some/out/of/tree/soc/path)
endif()
in application CMakeLists.txt.

Finally, allowing multiple SOC_ROOTs prepares for specifying SOC_ROOTs
in Zephyr modules.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2020-08-05 08:06:07 -04:00
..
app cmake: kconfig: support for multiple SOC_ROOT 2020-08-05 08:06:07 -04:00
bintools
compiler
emu boards: centralize QEMU icount management 2020-06-24 20:28:36 -04:00
flash cmake: west: west flash dependencies in sync with CMake flash target 2020-07-01 07:58:10 -04:00
ide
linker/ld
makefile_exports
reports scripts: size_report: rework to use pyelftools... 2020-07-16 12:14:22 +02:00
toolchain
usage cmake: sort shield list and improve indent 2020-08-05 12:01:49 +02:00
util
boards.cmake doc,cmake: make find_package(Zephyr...) REQUIRED 2020-05-29 10:47:25 +02:00
ccache.cmake
cfb.cmake
dts.cmake devicetree: use edt.pickle more 2020-07-23 09:19:45 -05:00
extensions.cmake cmake: remove _if_kconfig() functions 2020-08-01 12:35:20 +02:00
extra_flags.cmake
gcc-m-cpu.cmake
generic_toolchain.cmake
git.cmake
hex.cmake
host-tools.cmake cmake: fix the build on windows 2020-07-09 18:13:44 -04:00
kconfig.cmake cmake: kconfig: support for multiple SOC_ROOT 2020-08-05 08:06:07 -04:00
kobj.cmake
pristine.cmake
python.cmake
target_toolchain.cmake
version.cmake
zephyr_module.cmake cmake: relocation of generated Kconfig file for Zephyr modules 2020-08-05 08:06:07 -04:00