mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-05 12:15:14 +00:00
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>
16 lines
488 B
CMake
16 lines
488 B
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
string(REPLACE ";" " " BOARD_ROOT_SPACE_SEPARATED "${BOARD_ROOT}")
|
|
string(REPLACE ";" " " SHIELD_LIST_SPACE_SEPARATED "${SHIELD_LIST}")
|
|
|
|
add_custom_target(
|
|
usage
|
|
${CMAKE_COMMAND}
|
|
-DBOARD_ROOT_SPACE_SEPARATED=${BOARD_ROOT_SPACE_SEPARATED}
|
|
-DSHIELD_LIST_SPACE_SEPARATED=${SHIELD_LIST_SPACE_SEPARATED}
|
|
-P ${CMAKE_CURRENT_SOURCE_DIR}/usage.cmake
|
|
)
|
|
|
|
# NB: The reason it is 'usage' and not help is that CMake already
|
|
# defines a target 'help'
|