3ae52624ff
Update the files which contain no license information with the 'Apache-2.0' SPDX license identifier. Many source files in the tree are missing licensing information, which makes it harder for compliance tools to determine the correct license. By default all files without license information are under the default license of Zephyr, which is Apache version 2. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
15 lines
336 B
CMake
15 lines
336 B
CMake
# 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()
|