cmake: allow boards to have extra cmake parametes

This commit allows boards to have custom cmake parameters that are
loaded before device tree is processed.

Signed-off-by: Andrei Gansari <andrei.gansari@nxp.com>
This commit is contained in:
Andrei Gansari 2019-11-20 11:36:13 +02:00 committed by Kumar Gala
parent 1977ac3ce2
commit 37af9cb065
1 changed files with 3 additions and 0 deletions

View File

@ -442,6 +442,9 @@ set(CMAKE_CXX_COMPILER_FORCED 1)
include(${ZEPHYR_BASE}/cmake/host-tools.cmake)
# Include board specific device-tree flags before parsing.
include(${BOARD_DIR}/pre_dt_board.cmake OPTIONAL)
# DTS should be close to kconfig because CONFIG_ variables from
# kconfig and dts should be available at the same time.
#