You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2024/09/10 03:34:46 UTC
(nuttx) branch master updated: cmake: migrate to SPDX identifier
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new 41537fe90f cmake: migrate to SPDX identifier
41537fe90f is described below
commit 41537fe90fc435993fb843f2e5d40ffa9d1f3cf3
Author: Alin Jerpelea <al...@sony.com>
AuthorDate: Mon Sep 9 12:00:35 2024 +0200
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 <al...@sony.com>
---
cmake/menuconfig.cmake | 2 ++
cmake/nuttx_add_application.cmake | 2 ++
cmake/nuttx_add_dependencies.cmake | 2 ++
cmake/nuttx_add_library.cmake | 2 ++
cmake/nuttx_add_module.cmake | 2 ++
cmake/nuttx_add_romfs.cmake | 2 ++
cmake/nuttx_add_subdirectory.cmake | 2 ++
cmake/nuttx_add_symtab.cmake | 2 ++
cmake/nuttx_allsyms.cmake | 2 ++
cmake/nuttx_create_symlink.cmake | 2 ++
cmake/nuttx_export_header.cmake | 2 ++
cmake/nuttx_generate_headers.cmake | 2 ++
cmake/nuttx_generate_outputs.cmake | 2 ++
cmake/nuttx_kconfig.cmake | 2 ++
cmake/nuttx_mkconfig.cmake | 2 ++
cmake/nuttx_mkversion.cmake | 2 ++
cmake/nuttx_parse_function_args.cmake | 2 ++
cmake/nuttx_redefine_symbols.cmake | 2 ++
cmake/nuttx_sethost.cmake | 2 ++
cmake/nuttx_source_file_properties.cmake | 2 ++
cmake/savedefconfig.cmake | 2 ++
cmake/symtab.c.in | 2 ++
22 files changed, 44 insertions(+)
diff --git a/cmake/menuconfig.cmake b/cmake/menuconfig.cmake
index 97e130712b..6a8b0efc4c 100644
--- a/cmake/menuconfig.cmake
+++ b/cmake/menuconfig.cmake
@@ -1,6 +1,8 @@
# ##############################################################################
# cmake/menuconfig.cmake
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this
diff --git a/cmake/nuttx_add_application.cmake b/cmake/nuttx_add_application.cmake
index a65b396164..307f0d29d1 100644
--- a/cmake/nuttx_add_application.cmake
+++ b/cmake/nuttx_add_application.cmake
@@ -1,6 +1,8 @@
# ##############################################################################
# cmake/nuttx_add_application.cmake
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this
diff --git a/cmake/nuttx_add_dependencies.cmake b/cmake/nuttx_add_dependencies.cmake
index eba7db1257..8355412d5b 100644
--- a/cmake/nuttx_add_dependencies.cmake
+++ b/cmake/nuttx_add_dependencies.cmake
@@ -1,6 +1,8 @@
# ##############################################################################
# cmake/nuttx_add_dependencies.cmake
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this
diff --git a/cmake/nuttx_add_library.cmake b/cmake/nuttx_add_library.cmake
index be15857d10..9290083d1a 100644
--- a/cmake/nuttx_add_library.cmake
+++ b/cmake/nuttx_add_library.cmake
@@ -1,6 +1,8 @@
# ##############################################################################
# cmake/nuttx_add_library.cmake
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this
diff --git a/cmake/nuttx_add_module.cmake b/cmake/nuttx_add_module.cmake
index 94ff71e4c0..bd33b93afb 100644
--- a/cmake/nuttx_add_module.cmake
+++ b/cmake/nuttx_add_module.cmake
@@ -1,6 +1,8 @@
# ##############################################################################
# cmake/nuttx_add_module.cmake
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this
diff --git a/cmake/nuttx_add_romfs.cmake b/cmake/nuttx_add_romfs.cmake
index e600341acc..864924f7ae 100644
--- a/cmake/nuttx_add_romfs.cmake
+++ b/cmake/nuttx_add_romfs.cmake
@@ -1,6 +1,8 @@
# ##############################################################################
# cmake/nuttx_add_romfs.cmake
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this
diff --git a/cmake/nuttx_add_subdirectory.cmake b/cmake/nuttx_add_subdirectory.cmake
index 49c5da90ba..378edada38 100644
--- a/cmake/nuttx_add_subdirectory.cmake
+++ b/cmake/nuttx_add_subdirectory.cmake
@@ -1,6 +1,8 @@
# ##############################################################################
# cmake/nuttx_add_subdirectory.cmake
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this
diff --git a/cmake/nuttx_add_symtab.cmake b/cmake/nuttx_add_symtab.cmake
index bd32a644b8..b61139cc7b 100644
--- a/cmake/nuttx_add_symtab.cmake
+++ b/cmake/nuttx_add_symtab.cmake
@@ -1,6 +1,8 @@
# ##############################################################################
# cmake/nuttx_add_symtab.cmake
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this
diff --git a/cmake/nuttx_allsyms.cmake b/cmake/nuttx_allsyms.cmake
index 7e8bfc09d2..beeec799e9 100644
--- a/cmake/nuttx_allsyms.cmake
+++ b/cmake/nuttx_allsyms.cmake
@@ -1,6 +1,8 @@
# ##############################################################################
# cmake/nuttx_allsyms.cmake
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this
diff --git a/cmake/nuttx_create_symlink.cmake b/cmake/nuttx_create_symlink.cmake
index e34b94fade..08191f1f1c 100644
--- a/cmake/nuttx_create_symlink.cmake
+++ b/cmake/nuttx_create_symlink.cmake
@@ -1,6 +1,8 @@
# ##############################################################################
# cmake/nuttx_create_symlink.cmake
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this
diff --git a/cmake/nuttx_export_header.cmake b/cmake/nuttx_export_header.cmake
index d883f20e8f..ac1c5619d6 100644
--- a/cmake/nuttx_export_header.cmake
+++ b/cmake/nuttx_export_header.cmake
@@ -1,6 +1,8 @@
# ##############################################################################
# cmake/nuttx_export_header.cmake
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this
diff --git a/cmake/nuttx_generate_headers.cmake b/cmake/nuttx_generate_headers.cmake
index f6803e9e68..8c7523f8c7 100644
--- a/cmake/nuttx_generate_headers.cmake
+++ b/cmake/nuttx_generate_headers.cmake
@@ -1,6 +1,8 @@
# ##############################################################################
# cmake/nuttx_generate_headers.cmake
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this
diff --git a/cmake/nuttx_generate_outputs.cmake b/cmake/nuttx_generate_outputs.cmake
index 7ffe284625..721c5a0986 100644
--- a/cmake/nuttx_generate_outputs.cmake
+++ b/cmake/nuttx_generate_outputs.cmake
@@ -1,6 +1,8 @@
# ##############################################################################
# cmake/nuttx_generate_outputs.cmake
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this
diff --git a/cmake/nuttx_kconfig.cmake b/cmake/nuttx_kconfig.cmake
index 33d7962f2c..371bf2b08a 100644
--- a/cmake/nuttx_kconfig.cmake
+++ b/cmake/nuttx_kconfig.cmake
@@ -1,6 +1,8 @@
# ##############################################################################
# cmake/nuttx_kconfig.cmake
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this
diff --git a/cmake/nuttx_mkconfig.cmake b/cmake/nuttx_mkconfig.cmake
index 71500c355a..9f532f8895 100644
--- a/cmake/nuttx_mkconfig.cmake
+++ b/cmake/nuttx_mkconfig.cmake
@@ -1,6 +1,8 @@
# ##############################################################################
# cmake/nuttx_mkconfig.cmake
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this
diff --git a/cmake/nuttx_mkversion.cmake b/cmake/nuttx_mkversion.cmake
index 4c5110b952..c7176fb3c1 100644
--- a/cmake/nuttx_mkversion.cmake
+++ b/cmake/nuttx_mkversion.cmake
@@ -1,6 +1,8 @@
# ##############################################################################
# cmake/nuttx_mkversion.cmake
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this
diff --git a/cmake/nuttx_parse_function_args.cmake b/cmake/nuttx_parse_function_args.cmake
index 48018b3d7c..f8b2fb0eb7 100644
--- a/cmake/nuttx_parse_function_args.cmake
+++ b/cmake/nuttx_parse_function_args.cmake
@@ -1,6 +1,8 @@
# ##############################################################################
# cmake/nuttx_parse_function_args.cmake
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this
diff --git a/cmake/nuttx_redefine_symbols.cmake b/cmake/nuttx_redefine_symbols.cmake
index e33acff0d8..7ff4012a49 100644
--- a/cmake/nuttx_redefine_symbols.cmake
+++ b/cmake/nuttx_redefine_symbols.cmake
@@ -1,6 +1,8 @@
# ##############################################################################
# cmake/nuttx_redefine_symbols.cmake
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this
diff --git a/cmake/nuttx_sethost.cmake b/cmake/nuttx_sethost.cmake
index 1ac35cbd44..308b11f41a 100644
--- a/cmake/nuttx_sethost.cmake
+++ b/cmake/nuttx_sethost.cmake
@@ -1,6 +1,8 @@
# ##############################################################################
# cmake/nuttx_sethost.cmake
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this
diff --git a/cmake/nuttx_source_file_properties.cmake b/cmake/nuttx_source_file_properties.cmake
index 25a7f6493d..64dc84d1be 100644
--- a/cmake/nuttx_source_file_properties.cmake
+++ b/cmake/nuttx_source_file_properties.cmake
@@ -1,6 +1,8 @@
# ##############################################################################
# cmake/nuttx_source_file_properties.cmake
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this
diff --git a/cmake/savedefconfig.cmake b/cmake/savedefconfig.cmake
index 2aa6fd6a15..eec44ea2d4 100644
--- a/cmake/savedefconfig.cmake
+++ b/cmake/savedefconfig.cmake
@@ -1,6 +1,8 @@
# ##############################################################################
# cmake/savedefconfig.cmake
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this
diff --git a/cmake/symtab.c.in b/cmake/symtab.c.in
index 51576f1108..56405d80cf 100644
--- a/cmake/symtab.c.in
+++ b/cmake/symtab.c.in
@@ -1,6 +1,8 @@
/****************************************************************************
* cmake/symtab.c.in
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The