cmake: migrate to SPDX identifier

Most tools used for compliance and SBOM generation use SPDX identifiers
This change brings us a step closer to an easy SBOM generation.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
This commit is contained in:
Alin Jerpelea 2024-09-09 12:00:35 +02:00 committed by Xiang Xiao
parent 61a4ab8966
commit 41537fe90f
22 changed files with 44 additions and 0 deletions

View File

@ -1,6 +1,8 @@
# ############################################################################## # ##############################################################################
# cmake/menuconfig.cmake # cmake/menuconfig.cmake
# #
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor # Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for # license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this # additional information regarding copyright ownership. The ASF licenses this

View File

@ -1,6 +1,8 @@
# ############################################################################## # ##############################################################################
# cmake/nuttx_add_application.cmake # cmake/nuttx_add_application.cmake
# #
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor # Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for # license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this # additional information regarding copyright ownership. The ASF licenses this

View File

@ -1,6 +1,8 @@
# ############################################################################## # ##############################################################################
# cmake/nuttx_add_dependencies.cmake # cmake/nuttx_add_dependencies.cmake
# #
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor # Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for # license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this # additional information regarding copyright ownership. The ASF licenses this

View File

@ -1,6 +1,8 @@
# ############################################################################## # ##############################################################################
# cmake/nuttx_add_library.cmake # cmake/nuttx_add_library.cmake
# #
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor # Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for # license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this # additional information regarding copyright ownership. The ASF licenses this

View File

@ -1,6 +1,8 @@
# ############################################################################## # ##############################################################################
# cmake/nuttx_add_module.cmake # cmake/nuttx_add_module.cmake
# #
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor # Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for # license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this # additional information regarding copyright ownership. The ASF licenses this

View File

@ -1,6 +1,8 @@
# ############################################################################## # ##############################################################################
# cmake/nuttx_add_romfs.cmake # cmake/nuttx_add_romfs.cmake
# #
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor # Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for # license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this # additional information regarding copyright ownership. The ASF licenses this

View File

@ -1,6 +1,8 @@
# ############################################################################## # ##############################################################################
# cmake/nuttx_add_subdirectory.cmake # cmake/nuttx_add_subdirectory.cmake
# #
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor # Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for # license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this # additional information regarding copyright ownership. The ASF licenses this

View File

@ -1,6 +1,8 @@
# ############################################################################## # ##############################################################################
# cmake/nuttx_add_symtab.cmake # cmake/nuttx_add_symtab.cmake
# #
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor # Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for # license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this # additional information regarding copyright ownership. The ASF licenses this

View File

@ -1,6 +1,8 @@
# ############################################################################## # ##############################################################################
# cmake/nuttx_allsyms.cmake # cmake/nuttx_allsyms.cmake
# #
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor # Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for # license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this # additional information regarding copyright ownership. The ASF licenses this

View File

@ -1,6 +1,8 @@
# ############################################################################## # ##############################################################################
# cmake/nuttx_create_symlink.cmake # cmake/nuttx_create_symlink.cmake
# #
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor # Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for # license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this # additional information regarding copyright ownership. The ASF licenses this

View File

@ -1,6 +1,8 @@
# ############################################################################## # ##############################################################################
# cmake/nuttx_export_header.cmake # cmake/nuttx_export_header.cmake
# #
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor # Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for # license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this # additional information regarding copyright ownership. The ASF licenses this

View File

@ -1,6 +1,8 @@
# ############################################################################## # ##############################################################################
# cmake/nuttx_generate_headers.cmake # cmake/nuttx_generate_headers.cmake
# #
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor # Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for # license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this # additional information regarding copyright ownership. The ASF licenses this

View File

@ -1,6 +1,8 @@
# ############################################################################## # ##############################################################################
# cmake/nuttx_generate_outputs.cmake # cmake/nuttx_generate_outputs.cmake
# #
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor # Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for # license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this # additional information regarding copyright ownership. The ASF licenses this

View File

@ -1,6 +1,8 @@
# ############################################################################## # ##############################################################################
# cmake/nuttx_kconfig.cmake # cmake/nuttx_kconfig.cmake
# #
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor # Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for # license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this # additional information regarding copyright ownership. The ASF licenses this

View File

@ -1,6 +1,8 @@
# ############################################################################## # ##############################################################################
# cmake/nuttx_mkconfig.cmake # cmake/nuttx_mkconfig.cmake
# #
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor # Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for # license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this # additional information regarding copyright ownership. The ASF licenses this

View File

@ -1,6 +1,8 @@
# ############################################################################## # ##############################################################################
# cmake/nuttx_mkversion.cmake # cmake/nuttx_mkversion.cmake
# #
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor # Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for # license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this # additional information regarding copyright ownership. The ASF licenses this

View File

@ -1,6 +1,8 @@
# ############################################################################## # ##############################################################################
# cmake/nuttx_parse_function_args.cmake # cmake/nuttx_parse_function_args.cmake
# #
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor # Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for # license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this # additional information regarding copyright ownership. The ASF licenses this

View File

@ -1,6 +1,8 @@
# ############################################################################## # ##############################################################################
# cmake/nuttx_redefine_symbols.cmake # cmake/nuttx_redefine_symbols.cmake
# #
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor # Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for # license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this # additional information regarding copyright ownership. The ASF licenses this

View File

@ -1,6 +1,8 @@
# ############################################################################## # ##############################################################################
# cmake/nuttx_sethost.cmake # cmake/nuttx_sethost.cmake
# #
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor # Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for # license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this # additional information regarding copyright ownership. The ASF licenses this

View File

@ -1,6 +1,8 @@
# ############################################################################## # ##############################################################################
# cmake/nuttx_source_file_properties.cmake # cmake/nuttx_source_file_properties.cmake
# #
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor # Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for # license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this # additional information regarding copyright ownership. The ASF licenses this

View File

@ -1,6 +1,8 @@
# ############################################################################## # ##############################################################################
# cmake/savedefconfig.cmake # cmake/savedefconfig.cmake
# #
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor # Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for # license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this # additional information regarding copyright ownership. The ASF licenses this

View File

@ -1,6 +1,8 @@
/**************************************************************************** /****************************************************************************
* cmake/symtab.c.in * cmake/symtab.c.in
* *
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more * Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The * this work for additional information regarding copyright ownership. The