You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
336 B
14 lines
336 B
# SPDX-License-Identifier: Apache-2.0 |
|
|
|
# To avoid a lot of empty CMakeLists.txt files we assume it is not an |
|
# error if it is missing |
|
|
|
if(EXISTS ${BOARD_DIR}/CMakeLists.txt) |
|
if(USING_OUT_OF_TREE_BOARD) |
|
set(build_dir boards/${ARCH}/${BOARD}) |
|
else() |
|
unset(build_dir) |
|
endif() |
|
|
|
add_subdirectory(${BOARD_DIR} ${build_dir}) |
|
endif()
|
|
|