blob: 838af832ddc9115a872f5bf7cd372ae7786f10d5 [file] [log] [blame]
# 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(BOARD_ROOT)
add_subdirectory(${BOARD_DIR} boards/${ARCH}/${BOARD})
else()
add_subdirectory(${BOARD_DIR})
endif()
endif()