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:
parent
1977ac3ce2
commit
37af9cb065
|
@ -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.
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue