This is an automated email from the ASF dual-hosted git repository.

xiaoxiang781216 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit cfc2a85197b5b54154ea55606dda7d86e0db53c4
Author: Alin Jerpelea <[email protected]>
AuthorDate: Tue Nov 17 13:56:36 2026 +0100

    libs/libm: add Apache 2.0 license to Kconfig
    
    fix ATR warnings regarding missing license
    
    Signed-off-by: Alin Jerpelea <[email protected]>
---
 libs/libm/Kconfig                  | 21 +++++++++++++++++++++
 libs/libm/libm/Kconfig             | 21 +++++++++++++++++++++
 libs/libm/libm/arm/Kconfig         | 21 +++++++++++++++++++++
 libs/libm/libm/arm/armv7-m/Kconfig | 21 +++++++++++++++++++++
 libs/libm/libm/arm/armv8-m/Kconfig | 21 +++++++++++++++++++++
 libs/libm/libm/risc-v/Kconfig      | 21 +++++++++++++++++++++
 libs/libm/libmcs/Kconfig           | 21 +++++++++++++++++++++
 libs/libm/newlib/Kconfig           | 21 +++++++++++++++++++++
 8 files changed, 168 insertions(+)

diff --git a/libs/libm/Kconfig b/libs/libm/Kconfig
index 2421c7e7a3f..253d04dbe60 100644
--- a/libs/libm/Kconfig
+++ b/libs/libm/Kconfig
@@ -1,3 +1,24 @@
+############################################################################
+# libs/libm/Kconfig
+#
+# 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 file to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance with the
+# License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+# License for the specific language governing permissions and limitations
+# under the License.
+#
+############################################################################
 #
 # For a description of the syntax of this configuration file,
 # see the file kconfig-language.txt in the NuttX tools repository.
diff --git a/libs/libm/libm/Kconfig b/libs/libm/libm/Kconfig
index d675f57fbfc..bb5b93f492c 100644
--- a/libs/libm/libm/Kconfig
+++ b/libs/libm/libm/Kconfig
@@ -1,3 +1,24 @@
+############################################################################
+# libs/libm/libm/Kconfig
+#
+# 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 file to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance with the
+# License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+# License for the specific language governing permissions and limitations
+# under the License.
+#
+############################################################################
 #
 # For a description of the syntax of this configuration file,
 # see the file kconfig-language.txt in the NuttX tools repository.
diff --git a/libs/libm/libm/arm/Kconfig b/libs/libm/libm/arm/Kconfig
index 0e0ea144a9e..fe7bb591b80 100644
--- a/libs/libm/libm/arm/Kconfig
+++ b/libs/libm/libm/arm/Kconfig
@@ -1,3 +1,24 @@
+############################################################################
+# libs/libm/libm/arm/Kconfig
+#
+# 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 file to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance with the
+# License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+# License for the specific language governing permissions and limitations
+# under the License.
+#
+############################################################################
 #
 # For a description of the syntax of this configuration file,
 # see the file kconfig-language.txt in the NuttX tools repository.
diff --git a/libs/libm/libm/arm/armv7-m/Kconfig 
b/libs/libm/libm/arm/armv7-m/Kconfig
index fb4e76debf8..c1f7d43aefe 100644
--- a/libs/libm/libm/arm/armv7-m/Kconfig
+++ b/libs/libm/libm/arm/armv7-m/Kconfig
@@ -1,3 +1,24 @@
+############################################################################
+# libs/libm/libm/arm/armv7-m/Kconfig
+#
+# 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 file to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance with the
+# License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+# License for the specific language governing permissions and limitations
+# under the License.
+#
+############################################################################
 #
 # For a description of the syntax of this configuration file,
 # see the file kconfig-language.txt in the NuttX tools repository.
diff --git a/libs/libm/libm/arm/armv8-m/Kconfig 
b/libs/libm/libm/arm/armv8-m/Kconfig
index c6db2651ba4..740a9bd77d2 100644
--- a/libs/libm/libm/arm/armv8-m/Kconfig
+++ b/libs/libm/libm/arm/armv8-m/Kconfig
@@ -1,3 +1,24 @@
+############################################################################
+# libs/libm/libm/arm/armv8-m/Kconfig
+#
+# 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 file to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance with the
+# License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+# License for the specific language governing permissions and limitations
+# under the License.
+#
+############################################################################
 #
 # For a description of the syntax of this configuration file,
 # see the file kconfig-language.txt in the NuttX tools repository.
diff --git a/libs/libm/libm/risc-v/Kconfig b/libs/libm/libm/risc-v/Kconfig
index 95e6642ff5c..1f492d47c54 100644
--- a/libs/libm/libm/risc-v/Kconfig
+++ b/libs/libm/libm/risc-v/Kconfig
@@ -1,3 +1,24 @@
+############################################################################
+# libs/libm/libm/risc-v/Kconfig
+#
+# 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 file to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance with the
+# License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+# License for the specific language governing permissions and limitations
+# under the License.
+#
+############################################################################
 #
 # For a description of the syntax of this configuration file,
 # see the file kconfig-language.txt in the NuttX tools repository.
diff --git a/libs/libm/libmcs/Kconfig b/libs/libm/libmcs/Kconfig
index 437f7bee110..dac8fd546d9 100644
--- a/libs/libm/libmcs/Kconfig
+++ b/libs/libm/libmcs/Kconfig
@@ -1,3 +1,24 @@
+############################################################################
+# libs/libm/libmcs/Kconfig
+#
+# 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 file to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance with the
+# License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+# License for the specific language governing permissions and limitations
+# under the License.
+#
+############################################################################
 #
 # For a description of the syntax of this configuration file,
 # see the file kconfig-language.txt in the NuttX tools repository.
diff --git a/libs/libm/newlib/Kconfig b/libs/libm/newlib/Kconfig
index af767b6070a..52182638b72 100644
--- a/libs/libm/newlib/Kconfig
+++ b/libs/libm/newlib/Kconfig
@@ -1,3 +1,24 @@
+############################################################################
+# libs/libm/newlib/Kconfig
+#
+# 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 file to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance with the
+# License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+# License for the specific language governing permissions and limitations
+# under the License.
+#
+############################################################################
 #
 # For a description of the syntax of this configuration file,
 # see the file kconfig-language.txt in the NuttX tools repository.

Reply via email to