diff --git a/CMakeLists.txt b/CMakeLists.txt index fa902f6a35d35..02c9f6ef9b31d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # 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/Makefile b/Makefile index 58ab2ab464bfe..ac65abe11213a 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,8 @@ ############################################################################ # 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/pass1/Makefile b/pass1/Makefile index c1aa9c5e5b79b..4828bff0aaa32 100644 --- a/pass1/Makefile +++ b/pass1/Makefile @@ -1,6 +1,8 @@ ############################################################################ # pass1/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/tools/CMakeLists.txt b/tools/CMakeLists.txt index 41f6f8e3889e9..07def1beb6960 100644 --- a/tools/CMakeLists.txt +++ b/tools/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # tools/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/tools/Config.mk b/tools/Config.mk index de959f0646b1a..244157ba598f4 100644 --- a/tools/Config.mk +++ b/tools/Config.mk @@ -1,6 +1,8 @@ ############################################################################ # tools/Config.mk # +# 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/tools/D.defs b/tools/D.defs index f46c41def63c8..8c0209a89732d 100644 --- a/tools/D.defs +++ b/tools/D.defs @@ -1,6 +1,8 @@ ############################################################################ # tools/D.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/tools/Export.mk b/tools/Export.mk index ec7fa5c2e2c46..528820f597de9 100644 --- a/tools/Export.mk +++ b/tools/Export.mk @@ -1,6 +1,8 @@ ############################################################################ # tools/Export.mk # +# 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/tools/FlatLibs.mk b/tools/FlatLibs.mk index 5ee873f7b8c95..514017f893510 100644 --- a/tools/FlatLibs.mk +++ b/tools/FlatLibs.mk @@ -1,6 +1,8 @@ ############################################################################ # tools/FlatLibs.mk # +# 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/tools/KernelLibs.mk b/tools/KernelLibs.mk index ef1933f99ac27..59e49463efcb1 100644 --- a/tools/KernelLibs.mk +++ b/tools/KernelLibs.mk @@ -1,6 +1,8 @@ ############################################################################ # tools/KernelLibs.mk # +# 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/tools/Makefile.host b/tools/Makefile.host index 938a6e9d4e5c1..8ec6572c1956c 100644 --- a/tools/Makefile.host +++ b/tools/Makefile.host @@ -1,6 +1,8 @@ ############################################################################ # tools/Makefile.host # +# 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/tools/ProtectedLibs.mk b/tools/ProtectedLibs.mk index f1f7d30b21206..8fd531d14f105 100644 --- a/tools/ProtectedLibs.mk +++ b/tools/ProtectedLibs.mk @@ -1,6 +1,8 @@ ############################################################################ # tools/ProtectedLibs.mk # +# 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/tools/Rust.defs b/tools/Rust.defs index 1e055e3c5d889..df68a4a79ad26 100644 --- a/tools/Rust.defs +++ b/tools/Rust.defs @@ -1,6 +1,8 @@ ############################################################################ # tools/Rust.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/tools/Swift.defs b/tools/Swift.defs index fd51a3088c225..65af970299043 100644 --- a/tools/Swift.defs +++ b/tools/Swift.defs @@ -1,6 +1,8 @@ ############################################################################ # tools/Swift.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 @@ -88,4 +90,4 @@ endif # armv7-none-none-eabi, armv7em-apple-none-macho, armv7em-none-none-eabi, # avr-none-none-elf, i686-unknown-none-elf, riscv32-none-none-eabi, # riscv64-none-none-eabi, wasm32-unknown-none-wasm, wasm64-unknown-none-wasm, -# x86_64-unknown-linux-gnu, x86_64-unknown-none-elf, \ No newline at end of file +# x86_64-unknown-linux-gnu, x86_64-unknown-none-elf, diff --git a/tools/Unix.mk b/tools/Unix.mk index eac201f68bc19..4bd7dad9e16e6 100644 --- a/tools/Unix.mk +++ b/tools/Unix.mk @@ -1,6 +1,8 @@ ############################################################################ # tools/Unix.mk # +# 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/tools/Win.mk b/tools/Win.mk index 05d54b7ace766..87fb2182613e5 100644 --- a/tools/Win.mk +++ b/tools/Win.mk @@ -1,6 +1,8 @@ ############################################################################ # tools/Win.mk # +# 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/tools/Zig.defs b/tools/Zig.defs index b1de13117e737..6feabe72e2265 100644 --- a/tools/Zig.defs +++ b/tools/Zig.defs @@ -1,6 +1,8 @@ ############################################################################ # tools/Zig.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/tools/apps-or-nuttx-Make.defs b/tools/apps-or-nuttx-Make.defs index 1639b649fb93b..dfce5e64ff876 100644 --- a/tools/apps-or-nuttx-Make.defs +++ b/tools/apps-or-nuttx-Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps-or-nuttx-Make.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/tools/b16.c b/tools/b16.c index 89d2a19f0722d..9e3f199d74b1f 100644 --- a/tools/b16.c +++ b/tools/b16.c @@ -1,6 +1,7 @@ /**************************************************************************** * tools/b16.c - * Convert b16 fixed precision value to float or vice versa + * + * 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 diff --git a/tools/bdf-converter.c b/tools/bdf-converter.c index 44774f26778ab..86c12287c44f3 100644 --- a/tools/bdf-converter.c +++ b/tools/bdf-converter.c @@ -1,6 +1,8 @@ /**************************************************************************** * tools/bdf-converter.c * + * 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/tools/build-globals.sh b/tools/build-globals.sh index 3661a35180ad8..843015a289b7c 100755 --- a/tools/build-globals.sh +++ b/tools/build-globals.sh @@ -2,6 +2,8 @@ ############################################################################ # tools/build-globals.sh # +# 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/tools/callstack.py b/tools/callstack.py index a947fadcd67d4..2d1b3edf786dc 100755 --- a/tools/callstack.py +++ b/tools/callstack.py @@ -1,6 +1,8 @@ #!/usr/bin/env python3 # tools/callstack.py # +# 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/tools/cfgdefine.c b/tools/cfgdefine.c index 091a53172d2c5..fc2901ac961a5 100644 --- a/tools/cfgdefine.c +++ b/tools/cfgdefine.c @@ -1,6 +1,8 @@ /**************************************************************************** * tools/cfgdefine.c * + * 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/tools/cfgdefine.h b/tools/cfgdefine.h index 4cc3b21d1ba6c..c31ca19077542 100644 --- a/tools/cfgdefine.h +++ b/tools/cfgdefine.h @@ -1,6 +1,8 @@ /**************************************************************************** * tools/cfgdefine.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/tools/cfgparser.c b/tools/cfgparser.c index 190f3f84d90cc..3a3086842778c 100644 --- a/tools/cfgparser.c +++ b/tools/cfgparser.c @@ -1,6 +1,8 @@ /**************************************************************************** * tools/cfgparser.c * + * 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/tools/cfgparser.h b/tools/cfgparser.h index 58c39d0a7c40d..8f82426d40be5 100644 --- a/tools/cfgparser.h +++ b/tools/cfgparser.h @@ -1,6 +1,8 @@ /**************************************************************************** * tools/cfgparser.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/tools/checkpatch.sh b/tools/checkpatch.sh index 17b46ed92dfae..db3c48d5a92d7 100755 --- a/tools/checkpatch.sh +++ b/tools/checkpatch.sh @@ -1,6 +1,8 @@ #!/usr/bin/env bash # tools/checkpatch.sh # +# 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. diff --git a/tools/checkrelease.sh b/tools/checkrelease.sh index fe766ac7393a2..4a6e313052b0e 100755 --- a/tools/checkrelease.sh +++ b/tools/checkrelease.sh @@ -2,6 +2,8 @@ ############################################################################# # tools/checkrelease.sh # +# 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/tools/ci/cibuild.sh b/tools/ci/cibuild.sh index a9c7e8d494ec3..4c8ca44797bcd 100755 --- a/tools/ci/cibuild.sh +++ b/tools/ci/cibuild.sh @@ -2,6 +2,8 @@ ############################################################################ # tools/ci/cibuild.sh # +# 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/tools/ci/cirun.sh b/tools/ci/cirun.sh index 73f240c2f5c2f..e4f170acb599c 100755 --- a/tools/ci/cirun.sh +++ b/tools/ci/cirun.sh @@ -1,4 +1,25 @@ #!/usr/bin/env bash +############################################################################ +# tools/ci/cirun.sh +# +# 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. +# +############################################################################ set -e set -o xtrace diff --git a/tools/ci/docker/linux/Dockerfile b/tools/ci/docker/linux/Dockerfile index 490e2ea300dea..1cbd47320215c 100644 --- a/tools/ci/docker/linux/Dockerfile +++ b/tools/ci/docker/linux/Dockerfile @@ -1,3 +1,5 @@ +# 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 @@ -533,4 +535,4 @@ RUN mkdir -p /ccache && \ ENV PATH="/tools/ccache/bin:$PATH" ENV CCACHE_DIR="/ccache" -CMD [ "/bin/bash" ] \ No newline at end of file +CMD [ "/bin/bash" ] diff --git a/tools/ci/platforms/darwin.sh b/tools/ci/platforms/darwin.sh index 522020ec2a5d8..6d1b170098886 100755 --- a/tools/ci/platforms/darwin.sh +++ b/tools/ci/platforms/darwin.sh @@ -2,6 +2,8 @@ ############################################################################ # tools/ci/platforms/darwin.sh # +# 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/tools/ci/platforms/linux.sh b/tools/ci/platforms/linux.sh index bf953c12aa727..0cbc98ef8fd6c 100755 --- a/tools/ci/platforms/linux.sh +++ b/tools/ci/platforms/linux.sh @@ -2,6 +2,8 @@ ############################################################################ # tools/ci/platforms/linux.sh # +# 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/tools/ci/platforms/msys2.sh b/tools/ci/platforms/msys2.sh index 687b81cff4c8d..4e6390e9b21c6 100755 --- a/tools/ci/platforms/msys2.sh +++ b/tools/ci/platforms/msys2.sh @@ -2,6 +2,8 @@ ############################################################################ # tools/ci/platforms/msys2.sh # +# 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/tools/ci/platforms/ubuntu.sh b/tools/ci/platforms/ubuntu.sh index cd1fba8a0469c..8f658846583ba 100755 --- a/tools/ci/platforms/ubuntu.sh +++ b/tools/ci/platforms/ubuntu.sh @@ -2,6 +2,8 @@ ############################################################################ # tools/ci/platforms/ubuntu.sh # +# 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/tools/ci/testrun/script/__init__.py b/tools/ci/testrun/script/__init__.py index 30983c7bef10e..40a7968deda82 100644 --- a/tools/ci/testrun/script/__init__.py +++ b/tools/ci/testrun/script/__init__.py @@ -1,2 +1,23 @@ #!/usr/bin/env python3 +############################################################################ +# tools/ci/testrun/script/__init__.py +# +# 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. +# +############################################################################ # encoding: utf-8 diff --git a/tools/ci/testrun/script/conftest.py b/tools/ci/testrun/script/conftest.py index d578c8d59223e..1a5437c09d342 100644 --- a/tools/ci/testrun/script/conftest.py +++ b/tools/ci/testrun/script/conftest.py @@ -1,4 +1,25 @@ #!/usr/bin/env python3 +############################################################################ +# tools/ci/testrun/script/conftest.py +# +# 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. +# +############################################################################ # encoding: utf-8 import pytest diff --git a/tools/ci/testrun/script/test_example/__init__.py b/tools/ci/testrun/script/test_example/__init__.py index 30983c7bef10e..639ad6b8e4290 100644 --- a/tools/ci/testrun/script/test_example/__init__.py +++ b/tools/ci/testrun/script/test_example/__init__.py @@ -1,2 +1,23 @@ #!/usr/bin/env python3 +############################################################################ +# tools/ci/testrun/script/text_example/__init__.py +# +# 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. +# +############################################################################ # encoding: utf-8 diff --git a/tools/ci/testrun/script/test_example/test_example.py b/tools/ci/testrun/script/test_example/test_example.py index 4ba779c662949..a8ba7c28f3e38 100644 --- a/tools/ci/testrun/script/test_example/test_example.py +++ b/tools/ci/testrun/script/test_example/test_example.py @@ -1,4 +1,25 @@ #!/usr/bin/env python3 +############################################################################ +# tools/ci/testrun/script/text_example/test_example.py +# +# 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. +# +############################################################################ # encoding: utf-8 import pytest diff --git a/tools/ci/testrun/script/test_framework/__init__.py b/tools/ci/testrun/script/test_framework/__init__.py index f18cc000eb242..3bccccefb9dce 100644 --- a/tools/ci/testrun/script/test_framework/__init__.py +++ b/tools/ci/testrun/script/test_framework/__init__.py @@ -1,2 +1,23 @@ #!/usr/bin/python3 +############################################################################ +# tools/ci/testrun/script/test_framework/__init__.py +# +# 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. +# +############################################################################ # encoding: utf-8 diff --git a/tools/ci/testrun/script/test_framework/test_cmocka.py b/tools/ci/testrun/script/test_framework/test_cmocka.py index 7d5f4d7b9badf..dd10e2a73815d 100644 --- a/tools/ci/testrun/script/test_framework/test_cmocka.py +++ b/tools/ci/testrun/script/test_framework/test_cmocka.py @@ -1,4 +1,25 @@ #!/usr/bin/python3 +############################################################################ +# tools/ci/testrun/script/test_framework/test_cmocka.py +# +# 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. +# +############################################################################ # encoding: utf-8 import os diff --git a/tools/ci/testrun/script/test_libuv/__init__.py b/tools/ci/testrun/script/test_libuv/__init__.py index f18cc000eb242..17769f505d0d2 100644 --- a/tools/ci/testrun/script/test_libuv/__init__.py +++ b/tools/ci/testrun/script/test_libuv/__init__.py @@ -1,2 +1,23 @@ #!/usr/bin/python3 +############################################################################ +# tools/ci/testrun/script/test_libuv/__init__.py +# +# 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. +# +############################################################################ # encoding: utf-8 diff --git a/tools/ci/testrun/script/test_libuv/test_libuv.py b/tools/ci/testrun/script/test_libuv/test_libuv.py index 1a336a809dd58..61aae062d6bc6 100644 --- a/tools/ci/testrun/script/test_libuv/test_libuv.py +++ b/tools/ci/testrun/script/test_libuv/test_libuv.py @@ -1,4 +1,25 @@ #!/usr/bin/python3 +############################################################################ +# tools/ci/testrun/script/test_libuv/test_libuv.py +# +# 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. +# +############################################################################ # encoding: utf-8 import pytest diff --git a/tools/ci/testrun/script/test_open_posix/__init__.py b/tools/ci/testrun/script/test_open_posix/__init__.py index f18cc000eb242..7930aa0d73727 100644 --- a/tools/ci/testrun/script/test_open_posix/__init__.py +++ b/tools/ci/testrun/script/test_open_posix/__init__.py @@ -1,2 +1,23 @@ #!/usr/bin/python3 +############################################################################ +# tools/ci/testrun/script/test_open_posix/__init__.py +# +# 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. +# +############################################################################ # encoding: utf-8 diff --git a/tools/ci/testrun/script/test_open_posix/test_openposix_.py b/tools/ci/testrun/script/test_open_posix/test_openposix_.py index 5585869862c0d..a027b42056fb6 100644 --- a/tools/ci/testrun/script/test_open_posix/test_openposix_.py +++ b/tools/ci/testrun/script/test_open_posix/test_openposix_.py @@ -1,4 +1,25 @@ #!/usr/bin/python3 +############################################################################ +# tools/ci/testrun/script/test_open_posix/test_openposix_.py +# +# 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. +# +############################################################################ # encoding: utf-8 import pytest diff --git a/tools/ci/testrun/script/test_os/__init__.py b/tools/ci/testrun/script/test_os/__init__.py index 30983c7bef10e..34f444b1b07d9 100644 --- a/tools/ci/testrun/script/test_os/__init__.py +++ b/tools/ci/testrun/script/test_os/__init__.py @@ -1,2 +1,23 @@ #!/usr/bin/env python3 +############################################################################ +# tools/ci/testrun/script/test_os/__init__.py +# +# 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. +# +############################################################################ # encoding: utf-8 diff --git a/tools/ci/testrun/script/test_os/test_os.py b/tools/ci/testrun/script/test_os/test_os.py index 5028ccb266eb8..ac437a5d72ca7 100644 --- a/tools/ci/testrun/script/test_os/test_os.py +++ b/tools/ci/testrun/script/test_os/test_os.py @@ -1,4 +1,25 @@ #!/usr/bin/env python3 +############################################################################ +# tools/ci/testrun/script/test_os/test_os.py +# +# 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. +# +############################################################################ # encoding: utf-8 import os diff --git a/tools/ci/testrun/utils/__init__.py b/tools/ci/testrun/utils/__init__.py index 30983c7bef10e..61178fda5b582 100644 --- a/tools/ci/testrun/utils/__init__.py +++ b/tools/ci/testrun/utils/__init__.py @@ -1,2 +1,23 @@ #!/usr/bin/env python3 +############################################################################ +# tools/ci/testrun/utils/__init__.py +# +# 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. +# +############################################################################ # encoding: utf-8 diff --git a/tools/ci/testrun/utils/common.py b/tools/ci/testrun/utils/common.py index 3dc64584408fd..cd40fc0afb16d 100644 --- a/tools/ci/testrun/utils/common.py +++ b/tools/ci/testrun/utils/common.py @@ -1,5 +1,25 @@ #!/usr/bin/env python3 - +############################################################################ +# tools/ci/testrun/utils/common.py +# +# 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. +# +############################################################################ import os import re import subprocess diff --git a/tools/ci/testrun/utils/data_model.py b/tools/ci/testrun/utils/data_model.py index ef74645631c7d..ada95415b225f 100644 --- a/tools/ci/testrun/utils/data_model.py +++ b/tools/ci/testrun/utils/data_model.py @@ -1,3 +1,25 @@ +############################################################################ +# tools/ci/testrun/utils/data_model.py +# +# 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. +# +############################################################################ + import re from datetime import datetime from typing import Dict, List diff --git a/tools/cmpconfig.c b/tools/cmpconfig.c index ff4e46ff59ee9..9b470de602db1 100644 --- a/tools/cmpconfig.c +++ b/tools/cmpconfig.c @@ -1,6 +1,8 @@ /**************************************************************************** * tools/cmpconfig.c * + * 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/tools/cnvwindeps.c b/tools/cnvwindeps.c index 2d77e86072171..dfe8db81b9536 100644 --- a/tools/cnvwindeps.c +++ b/tools/cnvwindeps.c @@ -1,6 +1,8 @@ /**************************************************************************** * tools/cnvwindeps.c * + * 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/tools/configure.bat b/tools/configure.bat index 5357d353bd525..b70148f7f5917 100755 --- a/tools/configure.bat +++ b/tools/configure.bat @@ -2,6 +2,8 @@ rem tools/configure.bat rem +rem SPDX-License-Identifier: Apache-2.0 +rem rem Licensed to the Apache Software Foundation (ASF) under one or more rem contributor license agreements. See the NOTICE file distributed with rem this work for additional information regarding copyright ownership. The diff --git a/tools/configure.c b/tools/configure.c index b4de9ed37f144..579976f210d8a 100644 --- a/tools/configure.c +++ b/tools/configure.c @@ -1,6 +1,8 @@ /**************************************************************************** * tools/configure.c * + * 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/tools/configure.sh b/tools/configure.sh index 023cc1ebe4e3f..9a3ac95ad1b6b 100755 --- a/tools/configure.sh +++ b/tools/configure.sh @@ -1,6 +1,8 @@ #!/usr/bin/env bash # tools/configure.sh # +# 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/tools/configure_completion.bash b/tools/configure_completion.bash index f28b1bf009b7c..37fbded7b1278 100644 --- a/tools/configure_completion.bash +++ b/tools/configure_completion.bash @@ -1,6 +1,8 @@ #!/usr/bin/env bash # tools/configure_completion.bash # +# 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 @@ -79,4 +81,4 @@ function _nuttx_configure_completion fi } -complete -o bashdefault -o default -o nospace -F _nuttx_configure_completion ./tools/configure.sh \ No newline at end of file +complete -o bashdefault -o default -o nospace -F _nuttx_configure_completion ./tools/configure.sh diff --git a/tools/convert-comments.c b/tools/convert-comments.c index 7ada7cde3a547..f0dbf5541f670 100644 --- a/tools/convert-comments.c +++ b/tools/convert-comments.c @@ -1,6 +1,8 @@ /**************************************************************************** * tools/convert-comments.c * + * 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/tools/copydir.bat b/tools/copydir.bat index 74982ec7ed543..a580aae802daf 100755 --- a/tools/copydir.bat +++ b/tools/copydir.bat @@ -2,6 +2,8 @@ rem tools/copydir.bat rem +rem SPDX-License-Identifier: Apache-2.0 +rem rem Licensed to the Apache Software Foundation (ASF) under one or more rem contributor license agreements. See the NOTICE file distributed with rem this work for additional information regarding copyright ownership. The diff --git a/tools/copydir.sh b/tools/copydir.sh index 5109bd3553bcf..7d18baa048a95 100755 --- a/tools/copydir.sh +++ b/tools/copydir.sh @@ -2,6 +2,8 @@ ############################################################################ # tools/copydir.sh # +# 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/tools/coredump.py b/tools/coredump.py index 50a0dfe729495..e9d596c855301 100755 --- a/tools/coredump.py +++ b/tools/coredump.py @@ -2,6 +2,8 @@ ############################################################################ # tools/coredump.py # +# 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/tools/csvparser.c b/tools/csvparser.c index e2f67145c9f21..e9f147b2f7f12 100644 --- a/tools/csvparser.c +++ b/tools/csvparser.c @@ -1,6 +1,8 @@ /**************************************************************************** * tools/csvparser.c * + * 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/tools/csvparser.h b/tools/csvparser.h index 9f09d9d17baef..9b42b039e903c 100644 --- a/tools/csvparser.h +++ b/tools/csvparser.h @@ -1,6 +1,8 @@ /**************************************************************************** * tools/csvparser.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/tools/cxd56/CMakeLists.txt b/tools/cxd56/CMakeLists.txt index 997e932688eab..ee826834cf2e0 100644 --- a/tools/cxd56/CMakeLists.txt +++ b/tools/cxd56/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # tools/cxd56/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/tools/cxd56/Config.mk b/tools/cxd56/Config.mk index 5004fa487fbab..a4a34738cfee4 100644 --- a/tools/cxd56/Config.mk +++ b/tools/cxd56/Config.mk @@ -1,6 +1,8 @@ ############################################################################ # tools/cxd56/Config.mk # +# 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/tools/cxd56/clefia.c b/tools/cxd56/clefia.c index 8d6f1c2d6fd67..498f64cc1ae57 100644 --- a/tools/cxd56/clefia.c +++ b/tools/cxd56/clefia.c @@ -1,6 +1,8 @@ /**************************************************************************** * tools/cxd56/clefia.c * + * 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/tools/cxd56/clefia.h b/tools/cxd56/clefia.h index 49163dc9aaf4d..f758ca56e4032 100644 --- a/tools/cxd56/clefia.h +++ b/tools/cxd56/clefia.h @@ -1,6 +1,8 @@ /**************************************************************************** * tools/cxd56/clefia.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/tools/cxd56/elf32.h b/tools/cxd56/elf32.h index 46dedd54c5428..1fe0f3ad7977e 100644 --- a/tools/cxd56/elf32.h +++ b/tools/cxd56/elf32.h @@ -1,6 +1,8 @@ /**************************************************************************** * tools/cxd56/elf32.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/tools/cxd56/mkspk.c b/tools/cxd56/mkspk.c index 6e20403049919..f2cb48b8f9e5f 100644 --- a/tools/cxd56/mkspk.c +++ b/tools/cxd56/mkspk.c @@ -1,6 +1,8 @@ /**************************************************************************** * tools/cxd56/mkspk.c * + * 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/tools/cxd56/mkspk.h b/tools/cxd56/mkspk.h index 142564c5c273d..8b7e183de96e7 100644 --- a/tools/cxd56/mkspk.h +++ b/tools/cxd56/mkspk.h @@ -1,6 +1,8 @@ /**************************************************************************** * tools/cxd56/mkspk.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/tools/define.bat b/tools/define.bat index 9a968e5bda7fd..aef2ae9532b4c 100755 --- a/tools/define.bat +++ b/tools/define.bat @@ -2,6 +2,8 @@ rem tools/define.bat rem +rem SPDX-License-Identifier: Apache-2.0 +rem rem Licensed to the Apache Software Foundation (ASF) under one or more rem contributor license agreements. See the NOTICE file distributed with rem this work for additional information regarding copyright ownership. The diff --git a/tools/define.sh b/tools/define.sh index c7871dce392ae..bb86fd6dd1fb2 100755 --- a/tools/define.sh +++ b/tools/define.sh @@ -1,6 +1,8 @@ #!/usr/bin/env bash # tools/define.sh # +# 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/tools/detab.c b/tools/detab.c index 19463cc96a98d..44aaa666fb01f 100644 --- a/tools/detab.c +++ b/tools/detab.c @@ -1,6 +1,8 @@ /**************************************************************************** * tools/detab.c * + * 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/tools/discover.py b/tools/discover.py index dc41e8e39ecf0..5c40c3601eab5 100755 --- a/tools/discover.py +++ b/tools/discover.py @@ -2,6 +2,8 @@ ############################################################################ # tools/discover.py # +# 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/tools/esp32/Config.mk b/tools/esp32/Config.mk index f702fcd709a12..02ca4dd666da6 100644 --- a/tools/esp32/Config.mk +++ b/tools/esp32/Config.mk @@ -1,6 +1,8 @@ ############################################################################ # tools/esp32/Config.mk # +# 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/tools/esp32/backtrace.gdbscript b/tools/esp32/backtrace.gdbscript index 41ae45011d151..2a8a083df1041 100644 --- a/tools/esp32/backtrace.gdbscript +++ b/tools/esp32/backtrace.gdbscript @@ -1,6 +1,8 @@ ############################################################################ # tools/esp32/backtrace.gdbscript # +# 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/tools/esp32/btdecode.sh b/tools/esp32/btdecode.sh index 2bc96707299ff..bbde9f11dc2dd 100755 --- a/tools/esp32/btdecode.sh +++ b/tools/esp32/btdecode.sh @@ -2,6 +2,8 @@ ############################################################################ # tools/esp32/btdecode.sh # +# 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/tools/esp32/mcuboot_toolchain_esp32.cmake b/tools/esp32/mcuboot_toolchain_esp32.cmake index e70f0d05016ff..606daa4b3c044 100644 --- a/tools/esp32/mcuboot_toolchain_esp32.cmake +++ b/tools/esp32/mcuboot_toolchain_esp32.cmake @@ -1,6 +1,8 @@ # ############################################################################## # tools/esp32/mcuboot_toolchain_esp32.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/tools/esp32c3/Config.mk b/tools/esp32c3/Config.mk index 96e4a2e11aa85..08b8c788667d4 100644 --- a/tools/esp32c3/Config.mk +++ b/tools/esp32c3/Config.mk @@ -1,6 +1,8 @@ ############################################################################ # tools/esp32c3/Config.mk # +# 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/tools/esp32s2/Config.mk b/tools/esp32s2/Config.mk index 455eb0d840ae1..3c2468c0e9720 100644 --- a/tools/esp32s2/Config.mk +++ b/tools/esp32s2/Config.mk @@ -1,6 +1,8 @@ ############################################################################ # tools/esp32s2/Config.mk # +# 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/tools/esp32s2/mcuboot_toolchain_esp32s2.cmake b/tools/esp32s2/mcuboot_toolchain_esp32s2.cmake index 29e825cf73b76..c0a2ced505aac 100644 --- a/tools/esp32s2/mcuboot_toolchain_esp32s2.cmake +++ b/tools/esp32s2/mcuboot_toolchain_esp32s2.cmake @@ -1,6 +1,8 @@ # ############################################################################## # tools/esp32s2/mcuboot_toolchain_esp32s2.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/tools/esp32s3/Config.mk b/tools/esp32s3/Config.mk index e7a0b614cd408..3ca37ea260306 100644 --- a/tools/esp32s3/Config.mk +++ b/tools/esp32s3/Config.mk @@ -1,6 +1,8 @@ ############################################################################ # tools/esp32s3/Config.mk # +# 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/tools/esp32s3/mcuboot_toolchain_esp32s3.cmake b/tools/esp32s3/mcuboot_toolchain_esp32s3.cmake index 6ea93ddc55811..1584ce4ce4233 100644 --- a/tools/esp32s3/mcuboot_toolchain_esp32s3.cmake +++ b/tools/esp32s3/mcuboot_toolchain_esp32s3.cmake @@ -1,6 +1,8 @@ # ############################################################################## # tools/esp32s3/mcuboot_toolchain_esp32s3.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/tools/espressif/Config.mk b/tools/espressif/Config.mk index 3a6b3c907119f..f6afb0995c482 100644 --- a/tools/espressif/Config.mk +++ b/tools/espressif/Config.mk @@ -1,6 +1,8 @@ ############################################################################ # tools/espressif/Config.mk # +# 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/tools/espressif/build_mcuboot.sh b/tools/espressif/build_mcuboot.sh index e46fcb8f3978a..1cf010f6ec38a 100755 --- a/tools/espressif/build_mcuboot.sh +++ b/tools/espressif/build_mcuboot.sh @@ -1,5 +1,25 @@ #!/usr/bin/env bash - +############################################################################ +# tools/espressif/build_mcuboot.sh +# +# 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. +# +############################################################################ SCRIPT_NAME=$(basename "${BASH_SOURCE[0]}") usage() { diff --git a/tools/espressif/build_mcuboot_esp32c3_legacy.sh b/tools/espressif/build_mcuboot_esp32c3_legacy.sh index 6362ea50d4442..e8165abc34b40 100755 --- a/tools/espressif/build_mcuboot_esp32c3_legacy.sh +++ b/tools/espressif/build_mcuboot_esp32c3_legacy.sh @@ -1,5 +1,25 @@ #!/usr/bin/env bash - +############################################################################ +# tools/espressif/build_mcuboot_esp32c3_legacy.sh +# +# 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. +# +############################################################################ SCRIPT_NAME=$(basename "${BASH_SOURCE[0]}") usage() { diff --git a/tools/espressif/mcuboot_toolchain_espressif.cmake b/tools/espressif/mcuboot_toolchain_espressif.cmake index bfefd437c89c0..fb283ce5fd0e0 100644 --- a/tools/espressif/mcuboot_toolchain_espressif.cmake +++ b/tools/espressif/mcuboot_toolchain_espressif.cmake @@ -1,6 +1,8 @@ # ############################################################################## # tools/espressif/mcuboot_toolchain_espressif.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/tools/flash_writer.py b/tools/flash_writer.py index e77184bb6901c..9f1bdaa9a202f 100755 --- a/tools/flash_writer.py +++ b/tools/flash_writer.py @@ -1,6 +1,8 @@ #!/usr/bin/env python3 # tools/flash_writer.py +# 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/tools/gcov.sh b/tools/gcov.sh index 341cf7c996380..ce57a232987aa 100755 --- a/tools/gcov.sh +++ b/tools/gcov.sh @@ -1,6 +1,8 @@ #!/usr/bin/env bash # tools/gcov.sh # +# 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. diff --git a/tools/gdb/__init__.py b/tools/gdb/__init__.py index ff4186ecd4e19..3797336953b52 100644 --- a/tools/gdb/__init__.py +++ b/tools/gdb/__init__.py @@ -1,6 +1,8 @@ ############################################################################ # tools/gdb/__init__.py # +# 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/tools/gdb/lists.py b/tools/gdb/lists.py index 8475f75e3a46f..067058042b161 100644 --- a/tools/gdb/lists.py +++ b/tools/gdb/lists.py @@ -1,6 +1,8 @@ ############################################################################ # tools/gdb/lists.py # +# 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/tools/gdb/memdump.py b/tools/gdb/memdump.py index 85c51a46017eb..16ed76308a67b 100644 --- a/tools/gdb/memdump.py +++ b/tools/gdb/memdump.py @@ -1,6 +1,8 @@ ############################################################################ # tools/gdb/memdump.py # +# 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/tools/gdb/thread.py b/tools/gdb/thread.py index 211e226bafdc1..9f5aa1c19bdf5 100644 --- a/tools/gdb/thread.py +++ b/tools/gdb/thread.py @@ -1,6 +1,8 @@ ############################################################################ # tools/gdb/thread.py # +# 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/tools/gdb/utils.py b/tools/gdb/utils.py index 2e49b2cf6c0be..d030a53eb3892 100644 --- a/tools/gdb/utils.py +++ b/tools/gdb/utils.py @@ -1,6 +1,8 @@ ############################################################################ # tools/gdb/utils.py # +# 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/tools/gdbserver.py b/tools/gdbserver.py index c3bfef7817830..bb326e4c4c186 100755 --- a/tools/gdbserver.py +++ b/tools/gdbserver.py @@ -1,6 +1,8 @@ #!/usr/bin/env python3 # tools/gdbserver.py # +# 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/tools/gencromfs.c b/tools/gencromfs.c index 71399b6eac634..b8b125d998390 100644 --- a/tools/gencromfs.c +++ b/tools/gencromfs.c @@ -1,6 +1,8 @@ /**************************************************************************** * tools/gencromfs.c * + * 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/tools/ide_exporter.py b/tools/ide_exporter.py index 602896b3d0cda..155eae8a72263 100755 --- a/tools/ide_exporter.py +++ b/tools/ide_exporter.py @@ -2,6 +2,9 @@ ############################################################################ # tools/ide_exporter.py # +# SPDX-License-Identifier: BSD-3-Clause +# +# # Copyright (C) 2016 Kha Vo. All rights reserved. # Author: Kha Vo # diff --git a/tools/imx9/Config.mk b/tools/imx9/Config.mk index 70e32262035ba..75231465f1f7c 100644 --- a/tools/imx9/Config.mk +++ b/tools/imx9/Config.mk @@ -1,6 +1,8 @@ ############################################################################ # tools/imx9/Config.mk # +# 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/tools/imx9/Makefile.host b/tools/imx9/Makefile.host index aedbc2bcfb52c..8199028dc62e0 100644 --- a/tools/imx9/Makefile.host +++ b/tools/imx9/Makefile.host @@ -1,6 +1,8 @@ ############################################################################ # tools/imx9/Makefile.host # +# 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/tools/incdir.bat b/tools/incdir.bat index 845d71bc322ec..b0e4da1543586 100755 --- a/tools/incdir.bat +++ b/tools/incdir.bat @@ -2,6 +2,8 @@ rem tools/incdir.bat rem +rem SPDX-License-Identifier: Apache-2.0 +rem rem Licensed to the Apache Software Foundation (ASF) under one or more rem contributor license agreements. See the NOTICE file distributed with rem this work for additional information regarding copyright ownership. The diff --git a/tools/incdir.c b/tools/incdir.c index 15d9b91cd6028..7d6e1fd050248 100644 --- a/tools/incdir.c +++ b/tools/incdir.c @@ -1,6 +1,8 @@ /**************************************************************************** * tools/incdir.c * + * 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/tools/incdir.sh b/tools/incdir.sh index e43450324fdde..c3425dacbddb1 100755 --- a/tools/incdir.sh +++ b/tools/incdir.sh @@ -1,6 +1,8 @@ #!/usr/bin/env bash # tools/incdir.sh # +# 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/tools/indent.sh b/tools/indent.sh index d2aacaafcead4..994ada2943f3b 100755 --- a/tools/indent.sh +++ b/tools/indent.sh @@ -2,6 +2,8 @@ ############################################################################ # tools/indent.sh # +# 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/tools/initialconfig.c b/tools/initialconfig.c index 8322f1af5c768..65fabf6539ac8 100644 --- a/tools/initialconfig.c +++ b/tools/initialconfig.c @@ -1,6 +1,8 @@ /**************************************************************************** * tools/initialconfig.c * + * 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/tools/jlink-nuttx.c b/tools/jlink-nuttx.c index 8e7fe86a3d996..713e0507ffc4f 100644 --- a/tools/jlink-nuttx.c +++ b/tools/jlink-nuttx.c @@ -1,6 +1,8 @@ /**************************************************************************** * tools/jlink-nuttx.c * + * 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/tools/kasan_global.py b/tools/kasan_global.py index 3967079dffc26..fc8496bbdf2de 100755 --- a/tools/kasan_global.py +++ b/tools/kasan_global.py @@ -2,6 +2,8 @@ ############################################################################ # tools/kasan_global.py # +# 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/tools/kconfig.bat b/tools/kconfig.bat index 1a5750b799e00..d9ac27fe5fcac 100755 --- a/tools/kconfig.bat +++ b/tools/kconfig.bat @@ -2,6 +2,8 @@ rem tools/kconfig.bat rem +rem SPDX-License-Identifier: Apache-2.0 +rem rem Licensed to the Apache Software Foundation (ASF) under one or more rem contributor license agreements. See the NOTICE file distributed with rem this work for additional information regarding copyright ownership. The diff --git a/tools/kconfig2html.c b/tools/kconfig2html.c index 422f292c1c1a0..e815706e246d9 100644 --- a/tools/kconfig2html.c +++ b/tools/kconfig2html.c @@ -1,6 +1,8 @@ /**************************************************************************** * tools/kconfig2html.c * + * 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/tools/licensing/apachize.py b/tools/licensing/apachize.py index a4454ef11b11d..e9c3cf1f527da 100755 --- a/tools/licensing/apachize.py +++ b/tools/licensing/apachize.py @@ -8,6 +8,8 @@ /**************************************************************************** * PATH * + * 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/tools/licensing/check.py b/tools/licensing/check.py index ee8f2428346ea..d52ac3b59d187 100755 --- a/tools/licensing/check.py +++ b/tools/licensing/check.py @@ -2,6 +2,8 @@ ############################################################################ # +# 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/tools/licensing/log2json.sh b/tools/licensing/log2json.sh index 7236d152dab3d..f969dd706751f 100755 --- a/tools/licensing/log2json.sh +++ b/tools/licensing/log2json.sh @@ -2,6 +2,8 @@ ############################################################################ # +# 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/tools/link.bat b/tools/link.bat index 21697638a5eff..eab4b820dc8bb 100755 --- a/tools/link.bat +++ b/tools/link.bat @@ -2,6 +2,8 @@ rem tools/link.bat rem +rem SPDX-License-Identifier: Apache-2.0 +rem rem Licensed to the Apache Software Foundation (ASF) under one or more rem contributor license agreements. See the NOTICE file distributed with rem this work for additional information regarding copyright ownership. The diff --git a/tools/link.sh b/tools/link.sh index 70b2e0919329d..ca8a0c895702a 100755 --- a/tools/link.sh +++ b/tools/link.sh @@ -2,6 +2,8 @@ ############################################################################ # tools/link.sh # +# 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/tools/lowhex.c b/tools/lowhex.c index 4655af7daf412..8a7e28d77632b 100644 --- a/tools/lowhex.c +++ b/tools/lowhex.c @@ -1,6 +1,8 @@ /**************************************************************************** * tools/lowhex.c * + * 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/tools/lwl/ocdconsole.py b/tools/lwl/ocdconsole.py index 5478867b9cd9c..3ef08f9a44d52 100755 --- a/tools/lwl/ocdconsole.py +++ b/tools/lwl/ocdconsole.py @@ -1,5 +1,7 @@ #!/usr/bin/env python3 # +# 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/tools/macar-qcs.sh b/tools/macar-qcs.sh index b1b73757658fb..ae4b267031aa6 100755 --- a/tools/macar-qcs.sh +++ b/tools/macar-qcs.sh @@ -1,5 +1,7 @@ #! /usr/bin/env bash +# SPDX-License-Identifier: Apache-2.0 +# # Licensed 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 diff --git a/tools/merge_config.py b/tools/merge_config.py index 6dc2fc762af46..140925bdbc67a 100755 --- a/tools/merge_config.py +++ b/tools/merge_config.py @@ -2,6 +2,8 @@ ############################################################################ # tools/merge_config.py # +# 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/tools/mkallsyms.py b/tools/mkallsyms.py index bfe217efa31bd..bddf29ccf4d07 100755 --- a/tools/mkallsyms.py +++ b/tools/mkallsyms.py @@ -2,6 +2,8 @@ ############################################################################ # tools/mkallsyms.py # +# 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/tools/mkallsyms.sh b/tools/mkallsyms.sh index 3e673decf69e3..01ebf7b3611c4 100755 --- a/tools/mkallsyms.sh +++ b/tools/mkallsyms.sh @@ -2,6 +2,8 @@ ############################################################################ # tools/mkallsyms.sh # +# 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/tools/mkconfig.c b/tools/mkconfig.c index aa95f5bf9d611..aed6d1887f54f 100644 --- a/tools/mkconfig.c +++ b/tools/mkconfig.c @@ -1,6 +1,8 @@ /**************************************************************************** * tools/mkconfig.c * + * 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/tools/mkconfigvars.sh b/tools/mkconfigvars.sh index e6cac5913ae04..2005264625abb 100755 --- a/tools/mkconfigvars.sh +++ b/tools/mkconfigvars.sh @@ -1,6 +1,8 @@ #!/usr/bin/env bash # tools/mkconfivars.sh # +# 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/tools/mkctags.sh b/tools/mkctags.sh index 5c521bb96c4ec..8bfa134792413 100755 --- a/tools/mkctags.sh +++ b/tools/mkctags.sh @@ -1,6 +1,8 @@ #!/usr/bin/env bash # tools/mkctags.sh # +# 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/tools/mkdeps.c b/tools/mkdeps.c index a38d245e2e006..f30a26923a649 100644 --- a/tools/mkdeps.c +++ b/tools/mkdeps.c @@ -1,6 +1,8 @@ /**************************************************************************** * tools/mkdeps.c * + * 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/tools/mkexport.sh b/tools/mkexport.sh index a2bd2156c1534..bf1d3f98a25df 100755 --- a/tools/mkexport.sh +++ b/tools/mkexport.sh @@ -1,6 +1,8 @@ #!/usr/bin/env bash # tools/mkexport.sh # +# 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/tools/mkfsdata.pl b/tools/mkfsdata.pl index 9a94f175c3cb3..55e11073ab54d 100755 --- a/tools/mkfsdata.pl +++ b/tools/mkfsdata.pl @@ -1,6 +1,8 @@ #!/usr/bin/perl # tools/mkfsdata.pl # +# SPDX-License-Identifier: BSD-3-Clause +# # Extracted from uIP which has a license that is compatible with NuttX. # There is no authorship, copyright, or licensing information in the # original file. Possibly written by Adam Dunkels. diff --git a/tools/mkfsdata.py b/tools/mkfsdata.py index dc504446ccfb4..d64951266bd69 100755 --- a/tools/mkfsdata.py +++ b/tools/mkfsdata.py @@ -3,6 +3,8 @@ """ tools/mkfsdata.py +SPDX-License-Identifier: ??? + Copyright (c) 2024 Alexey Matveev THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS diff --git a/tools/mknulldeps.sh b/tools/mknulldeps.sh index 9e09c34d23426..bd94788d700fd 100755 --- a/tools/mknulldeps.sh +++ b/tools/mknulldeps.sh @@ -1,6 +1,8 @@ #!/usr/bin/env bash # tools/mknulldeps.sh # +# 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/tools/mkromfsimg.sh b/tools/mkromfsimg.sh index 285d79b312cea..47aea01c9f2a9 100755 --- a/tools/mkromfsimg.sh +++ b/tools/mkromfsimg.sh @@ -2,6 +2,8 @@ ############################################################################ # tools/mkromfsimg.sh # +# 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/tools/mksymtab.c b/tools/mksymtab.c index 2c2c9404a086f..9c948fa8aa138 100644 --- a/tools/mksymtab.c +++ b/tools/mksymtab.c @@ -1,6 +1,8 @@ /**************************************************************************** * tools/mksymtab.c * + * 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/tools/mkversion.c b/tools/mkversion.c index a11910136accb..92b9fc9fc4d5e 100644 --- a/tools/mkversion.c +++ b/tools/mkversion.c @@ -1,6 +1,8 @@ /**************************************************************************** * tools/mkversion.c * + * 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/tools/mkwindeps.sh b/tools/mkwindeps.sh index 9deed6ffb237f..345bc0a66c240 100755 --- a/tools/mkwindeps.sh +++ b/tools/mkwindeps.sh @@ -1,6 +1,8 @@ #!/usr/bin/env bash # tools/mkwindeps.sh # +# 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/tools/mpfs/Config.mk b/tools/mpfs/Config.mk index 639169f2d0fc5..f981c2138f1ae 100644 --- a/tools/mpfs/Config.mk +++ b/tools/mpfs/Config.mk @@ -1,6 +1,8 @@ ############################################################################ # tools/mpfs/Config.mk # +# 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/tools/netusb.sh b/tools/netusb.sh index 07166b66a0c2d..2dab9a86e77c3 100755 --- a/tools/netusb.sh +++ b/tools/netusb.sh @@ -3,6 +3,8 @@ #**************************************************************************** # tools/netusb.sh # +# 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/tools/noteinfo.c b/tools/noteinfo.c index 4d481bd31ef76..c8c076c2fe1e6 100644 --- a/tools/noteinfo.c +++ b/tools/noteinfo.c @@ -1,6 +1,8 @@ /**************************************************************************** * tools/noteinfo.c * + * 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/tools/nxstyle.c b/tools/nxstyle.c index 30947c12eaac0..4af524f1c88ac 100644 --- a/tools/nxstyle.c +++ b/tools/nxstyle.c @@ -1,6 +1,8 @@ /******************************************************************************** * tools/nxstyle.c * + * 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/tools/parsecallstack.py b/tools/parsecallstack.py index 4975a34abc2fd..55d520788e2e0 100755 --- a/tools/parsecallstack.py +++ b/tools/parsecallstack.py @@ -1,6 +1,8 @@ #!/usr/bin/env python3 # tools/parsecallstack.py # +# 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/tools/parsememdump.py b/tools/parsememdump.py index aabcae21ac35d..ee0b396815316 100755 --- a/tools/parsememdump.py +++ b/tools/parsememdump.py @@ -1,6 +1,8 @@ #!/usr/bin/env python3 # tools/parsememdump.py # +# 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/tools/parsetrace.py b/tools/parsetrace.py index 6cc6128caddb0..bb2899a6aeacf 100755 --- a/tools/parsetrace.py +++ b/tools/parsetrace.py @@ -2,6 +2,8 @@ ############################################################################ # tools/parsetrace.py # +# 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/tools/pic32/Config.mk b/tools/pic32/Config.mk index c107af04645e7..689c3a1c8d4ab 100644 --- a/tools/pic32/Config.mk +++ b/tools/pic32/Config.mk @@ -1,6 +1,8 @@ ############################################################################ # tools/pic32/Config.mk # +# 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/tools/pic32/Makefile.host b/tools/pic32/Makefile.host index 2a0248377f957..cba3dbf5f7a08 100644 --- a/tools/pic32/Makefile.host +++ b/tools/pic32/Makefile.host @@ -1,6 +1,8 @@ ############################################################################ # tools/pic32/Makefile.host # +# 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/tools/pic32/mkpichex.c b/tools/pic32/mkpichex.c index 381952f7cbcc9..bd695bc8d2df3 100644 --- a/tools/pic32/mkpichex.c +++ b/tools/pic32/mkpichex.c @@ -1,6 +1,7 @@ /**************************************************************************** * tools/pic32/mkpichex.c - * Convert virtual addresses in nuttx.hex to physical addresses + * + * 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 diff --git a/tools/process_config.sh b/tools/process_config.sh index a08f680db2ead..a9aaf14318225 100755 --- a/tools/process_config.sh +++ b/tools/process_config.sh @@ -1,6 +1,8 @@ #!/usr/bin/env bash # tools/process_config.sh # +# 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/tools/refresh.sh b/tools/refresh.sh index 98f479993f7a6..532cb0e1746b7 100755 --- a/tools/refresh.sh +++ b/tools/refresh.sh @@ -1,6 +1,8 @@ #!/usr/bin/env bash # tools/refresh.sh # +# 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/tools/rmcr.c b/tools/rmcr.c index 6b04b3624d803..d6ff44694d13f 100644 --- a/tools/rmcr.c +++ b/tools/rmcr.c @@ -1,6 +1,8 @@ /**************************************************************************** * tools/rmcr.c * + * 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/tools/rp2040/Config.mk b/tools/rp2040/Config.mk index 54b941fea8128..2d3faa7fd86ee 100644 --- a/tools/rp2040/Config.mk +++ b/tools/rp2040/Config.mk @@ -1,6 +1,8 @@ ############################################################################ # tools/rp2040/Config.mk # +# 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/tools/rp2040/make_flash_fs.c b/tools/rp2040/make_flash_fs.c index c9d47e37a095f..6e83d269ccca1 100644 --- a/tools/rp2040/make_flash_fs.c +++ b/tools/rp2040/make_flash_fs.c @@ -1,6 +1,8 @@ /**************************************************************************** * tools/rp2040/make_flash_fs.c * + * 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/tools/sethost.sh b/tools/sethost.sh index d637f0051711c..1f319ddd7b6ab 100755 --- a/tools/sethost.sh +++ b/tools/sethost.sh @@ -1,6 +1,8 @@ #!/usr/bin/env bash # tools/sethost.sh # +# 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/tools/showsize.sh b/tools/showsize.sh index 4d99ca8d0f1cd..f7114154d4736 100755 --- a/tools/showsize.sh +++ b/tools/showsize.sh @@ -2,6 +2,8 @@ ############################################################################ # tools/showsize.sh # +# 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/tools/showstack.sh b/tools/showstack.sh index bc82c0ed65cdf..ad1f5e22700e2 100755 --- a/tools/showstack.sh +++ b/tools/showstack.sh @@ -2,6 +2,8 @@ ############################################################################ # tools/showstack.sh # +# 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/tools/simbridge.sh b/tools/simbridge.sh index fd4df19c59e24..ac15060df2851 100755 --- a/tools/simbridge.sh +++ b/tools/simbridge.sh @@ -1,6 +1,8 @@ #!/usr/bin/env bash # tools/simbridge.sh # +# 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. diff --git a/tools/simhostroute.sh b/tools/simhostroute.sh index e612d045ad52f..40d6319289253 100755 --- a/tools/simhostroute.sh +++ b/tools/simhostroute.sh @@ -3,6 +3,8 @@ #**************************************************************************** # tools/simhostroute.sh # +# 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/tools/simwifi/sim_wifi.sh b/tools/simwifi/sim_wifi.sh index 688e76e69e04f..f0316a548c261 100755 --- a/tools/simwifi/sim_wifi.sh +++ b/tools/simwifi/sim_wifi.sh @@ -3,6 +3,8 @@ #**************************************************************************** # tools/simwifi/sim_wifi.sh # +# 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/tools/stm32_pinmap_tool.py b/tools/stm32_pinmap_tool.py index e0dce0a2ac510..03eb55f94fddf 100755 --- a/tools/stm32_pinmap_tool.py +++ b/tools/stm32_pinmap_tool.py @@ -2,6 +2,8 @@ ############################################################################ # tools/stm32_pinmap_tool.py # +# 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/tools/testbuild.sh b/tools/testbuild.sh index e4cfbe8861c0c..42c3e3f5e3476 100755 --- a/tools/testbuild.sh +++ b/tools/testbuild.sh @@ -1,6 +1,8 @@ #!/usr/bin/env bash # tools/testbuild.sh # +# 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/tools/unlink.bat b/tools/unlink.bat index 1583df74e1a6c..ba41563d4d7f6 100755 --- a/tools/unlink.bat +++ b/tools/unlink.bat @@ -2,6 +2,8 @@ rem tools/unlink.bat rem +rem SPDX-License-Identifier: Apache-2.0 +rem rem Licensed to the Apache Software Foundation (ASF) under one or more rem contributor license agreements. See the NOTICE file distributed with rem this work for additional information regarding copyright ownership. The diff --git a/tools/unlink.sh b/tools/unlink.sh index cf04358089f12..48fcf364162de 100755 --- a/tools/unlink.sh +++ b/tools/unlink.sh @@ -2,6 +2,8 @@ ############################################################################ # tools/unlink.sh # +# 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/tools/version.sh b/tools/version.sh index 53b26e95b4b4a..0eb9d1e45e994 100755 --- a/tools/version.sh +++ b/tools/version.sh @@ -1,6 +1,8 @@ #!/usr/bin/env bash # tools/version.sh # +# 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/tools/xmlrpc_test.py b/tools/xmlrpc_test.py index 3bd7e1667a3d4..4e1926dbb79fa 100755 --- a/tools/xmlrpc_test.py +++ b/tools/xmlrpc_test.py @@ -2,6 +2,8 @@ ############################################################################ # tools/xmlrpc_test.py # +# 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/tools/zds/Config.mk b/tools/zds/Config.mk index be60b9012223c..dad66a2306d5a 100644 --- a/tools/zds/Config.mk +++ b/tools/zds/Config.mk @@ -1,6 +1,8 @@ ############################################################################ # tools/zds/Config.mk # +# 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/tools/zds/Makefile b/tools/zds/Makefile index d5afed0da1f5d..2793e314d5a7f 100644 --- a/tools/zds/Makefile +++ b/tools/zds/Makefile @@ -1,6 +1,8 @@ ############################################################################ # tools/zds/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/tools/zds/zdsar.c b/tools/zds/zdsar.c index 1de25d925f6fd..3fea19bce8ce8 100644 --- a/tools/zds/zdsar.c +++ b/tools/zds/zdsar.c @@ -1,6 +1,8 @@ /**************************************************************************** * tools/zds/zdsar.c * + * 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/tools/zipme.sh b/tools/zipme.sh index a4da78fdf7209..82d1dd12414b1 100755 --- a/tools/zipme.sh +++ b/tools/zipme.sh @@ -1,6 +1,8 @@ #!/usr/bin/env bash # tools/zipme.sh # +# 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