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

commit d56c16e2b8de98aad84592e9dfb5658da874f88a
Author: Alin Jerpelea <[email protected]>
AuthorDate: Fri Sep 13 15:11:30 2024 +0200

    libs/libxx: 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 <[email protected]>
---
 libs/libxx/CMakeLists.txt                      | 2 ++
 libs/libxx/Makefile                            | 2 ++
 libs/libxx/etl.defs                            | 2 ++
 libs/libxx/libcxx.cmake                        | 2 ++
 libs/libxx/libcxx.defs                         | 2 ++
 libs/libxx/libcxxabi.cmake                     | 2 ++
 libs/libxx/libcxxabi.defs                      | 2 ++
 libs/libxx/libcxxmini.cmake                    | 2 ++
 libs/libxx/libcxxmini.defs                     | 2 ++
 libs/libxx/libcxxmini/libxx_cxa_guard.cxx      | 2 ++
 libs/libxx/libcxxmini/libxx_cxapurevirtual.cxx | 2 ++
 libs/libxx/libcxxmini/libxx_delete.cxx         | 2 ++
 libs/libxx/libcxxmini/libxx_delete_sized.cxx   | 2 ++
 libs/libxx/libcxxmini/libxx_deletea_sized.cxx  | 2 ++
 libs/libxx/libcxxmini/libxx_new.cxx            | 2 ++
 libs/libxx/libcxxmini/libxx_newa.cxx           | 2 ++
 libs/libxx/system_configuration.h              | 2 ++
 libs/libxx/uClibc++.cmake                      | 2 ++
 libs/libxx/uClibc++.defs                       | 2 ++
 19 files changed, 38 insertions(+)

diff --git a/libs/libxx/CMakeLists.txt b/libs/libxx/CMakeLists.txt
index 6dacc93499..be615f4dd9 100644
--- a/libs/libxx/CMakeLists.txt
+++ b/libs/libxx/CMakeLists.txt
@@ -1,6 +1,8 @@
 # 
##############################################################################
 # libs/libxx/CMakeLists.txt
 #
+# 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/libs/libxx/Makefile b/libs/libxx/Makefile
index 396c6646bd..622b8809db 100644
--- a/libs/libxx/Makefile
+++ b/libs/libxx/Makefile
@@ -1,6 +1,8 @@
 ############################################################################
 # libs/libxx/Makefile
 #
+# 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
diff --git a/libs/libxx/etl.defs b/libs/libxx/etl.defs
index d8de05b13b..823c05d4d4 100644
--- a/libs/libxx/etl.defs
+++ b/libs/libxx/etl.defs
@@ -1,6 +1,8 @@
 ############################################################################
 # libs/libxx/etl.defs
 #
+# 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
diff --git a/libs/libxx/libcxx.cmake b/libs/libxx/libcxx.cmake
index d8a281cc5f..2e3a63e954 100644
--- a/libs/libxx/libcxx.cmake
+++ b/libs/libxx/libcxx.cmake
@@ -1,6 +1,8 @@
 # 
##############################################################################
 # libs/libxx/libcxx.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/libs/libxx/libcxx.defs b/libs/libxx/libcxx.defs
index d703854822..50885b3dbc 100644
--- a/libs/libxx/libcxx.defs
+++ b/libs/libxx/libcxx.defs
@@ -1,6 +1,8 @@
 ############################################################################
 # libs/libxx/libcxx.defs
 #
+# 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
diff --git a/libs/libxx/libcxxabi.cmake b/libs/libxx/libcxxabi.cmake
index f55d842a17..494bb08d02 100644
--- a/libs/libxx/libcxxabi.cmake
+++ b/libs/libxx/libcxxabi.cmake
@@ -1,6 +1,8 @@
 # 
##############################################################################
 # libs/libxx/libcxxabi.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/libs/libxx/libcxxabi.defs b/libs/libxx/libcxxabi.defs
index 63d780a936..e4dd8cd787 100644
--- a/libs/libxx/libcxxabi.defs
+++ b/libs/libxx/libcxxabi.defs
@@ -1,6 +1,8 @@
 ############################################################################
 # libs/libxx/libcxxabi.defs
 #
+# 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
diff --git a/libs/libxx/libcxxmini.cmake b/libs/libxx/libcxxmini.cmake
index 3464dbc969..a75ed5b522 100644
--- a/libs/libxx/libcxxmini.cmake
+++ b/libs/libxx/libcxxmini.cmake
@@ -1,6 +1,8 @@
 # 
##############################################################################
 # libs/libxx/libcxxmini.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/libs/libxx/libcxxmini.defs b/libs/libxx/libcxxmini.defs
index 2624a4534c..12d137d659 100644
--- a/libs/libxx/libcxxmini.defs
+++ b/libs/libxx/libcxxmini.defs
@@ -1,6 +1,8 @@
 ############################################################################
 # libs/libxx/libcxxmini.defs
 #
+# 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
diff --git a/libs/libxx/libcxxmini/libxx_cxa_guard.cxx 
b/libs/libxx/libcxxmini/libxx_cxa_guard.cxx
index 98fd2d255d..ea7bac6a1e 100644
--- a/libs/libxx/libcxxmini/libxx_cxa_guard.cxx
+++ b/libs/libxx/libcxxmini/libxx_cxa_guard.cxx
@@ -1,6 +1,8 @@
 //***************************************************************************
 // libs/libxx/libcxxmini/libxx_cxa_guard.cxx
 //
+// 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
diff --git a/libs/libxx/libcxxmini/libxx_cxapurevirtual.cxx 
b/libs/libxx/libcxxmini/libxx_cxapurevirtual.cxx
index 69bb4543f1..d9a122363f 100644
--- a/libs/libxx/libcxxmini/libxx_cxapurevirtual.cxx
+++ b/libs/libxx/libcxxmini/libxx_cxapurevirtual.cxx
@@ -1,6 +1,8 @@
 //***************************************************************************
 // libs/libxx/libcxxmini/libxx_cxapurevirtual.cxx
 //
+// 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
diff --git a/libs/libxx/libcxxmini/libxx_delete.cxx 
b/libs/libxx/libcxxmini/libxx_delete.cxx
index ba4490df4f..11ee18e383 100644
--- a/libs/libxx/libcxxmini/libxx_delete.cxx
+++ b/libs/libxx/libcxxmini/libxx_delete.cxx
@@ -1,6 +1,8 @@
 //***************************************************************************
 // libs/libxx/libcxxmini/libxx_delete.cxx
 //
+// 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
diff --git a/libs/libxx/libcxxmini/libxx_delete_sized.cxx 
b/libs/libxx/libcxxmini/libxx_delete_sized.cxx
index 359d2cd3e4..b2148cd098 100644
--- a/libs/libxx/libcxxmini/libxx_delete_sized.cxx
+++ b/libs/libxx/libcxxmini/libxx_delete_sized.cxx
@@ -1,6 +1,8 @@
 //***************************************************************************
 // libs/libxx/libcxxmini/libxx_delete_sized.cxx
 //
+// 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
diff --git a/libs/libxx/libcxxmini/libxx_deletea_sized.cxx 
b/libs/libxx/libcxxmini/libxx_deletea_sized.cxx
index 0a7fc8be25..ab1dda939e 100644
--- a/libs/libxx/libcxxmini/libxx_deletea_sized.cxx
+++ b/libs/libxx/libcxxmini/libxx_deletea_sized.cxx
@@ -1,6 +1,8 @@
 //***************************************************************************
 // libs/libxx/libcxxmini/libxx_deletea_sized.cxx
 //
+// 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
diff --git a/libs/libxx/libcxxmini/libxx_new.cxx 
b/libs/libxx/libcxxmini/libxx_new.cxx
index be78cc7df0..8416febc44 100644
--- a/libs/libxx/libcxxmini/libxx_new.cxx
+++ b/libs/libxx/libcxxmini/libxx_new.cxx
@@ -1,6 +1,8 @@
 //***************************************************************************
 // libs/libxx/libcxxmini/libxx_new.cxx
 //
+// 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
diff --git a/libs/libxx/libcxxmini/libxx_newa.cxx 
b/libs/libxx/libcxxmini/libxx_newa.cxx
index f0788026b6..8dbc57fa21 100644
--- a/libs/libxx/libcxxmini/libxx_newa.cxx
+++ b/libs/libxx/libcxxmini/libxx_newa.cxx
@@ -1,6 +1,8 @@
 //***************************************************************************
 // libs/libxx/libcxxmini/libxx_newa.cxx
 //
+// 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
diff --git a/libs/libxx/system_configuration.h 
b/libs/libxx/system_configuration.h
index abe1e8160a..fff4560dfd 100644
--- a/libs/libxx/system_configuration.h
+++ b/libs/libxx/system_configuration.h
@@ -1,6 +1,8 @@
 /****************************************************************************
  * libs/libxx/system_configuration.h
  *
+# 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
diff --git a/libs/libxx/uClibc++.cmake b/libs/libxx/uClibc++.cmake
index 72c3f51dd5..e04b317133 100644
--- a/libs/libxx/uClibc++.cmake
+++ b/libs/libxx/uClibc++.cmake
@@ -1,6 +1,8 @@
 # 
##############################################################################
 # libs/libxx/uClibc++.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/libs/libxx/uClibc++.defs b/libs/libxx/uClibc++.defs
index b8f5436b46..00d92b9741 100644
--- a/libs/libxx/uClibc++.defs
+++ b/libs/libxx/uClibc++.defs
@@ -1,6 +1,8 @@
 ############################################################################
 # libs/libxx/uClibc++.defs
 #
+# 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

Reply via email to