diff --git a/CMakeLists.txt b/CMakeLists.txt index fa902f6a35d..02c9f6ef9b3 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 58ab2ab464b..ac65abe1121 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 c1aa9c5e5b7..4828bff0aaa 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 41f6f8e3889..07def1beb69 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 de959f0646b..244157ba598 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 f46c41def63..8c0209a8973 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 ec7fa5c2e2c..528820f597d 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 5ee873f7b8c..514017f8935 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 ef1933f99ac..59e49463efc 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 938a6e9d4e5..8ec6572c195 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 f1f7d30b212..8fd531d14f1 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 1e055e3c5d8..df68a4a79ad 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 fd51a3088c2..65af9702990 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 eac201f68bc..4bd7dad9e16 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 05d54b7ace7..87fb2182613 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 b1de13117e7..6feabe72e22 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 1639b649fb9..dfce5e64ff8 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 89d2a19f072..9e3f199d74b 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 44774f26778..86c12287c44 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 3661a35180a..843015a289b 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 a947fadcd67..2d1b3edf786 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 091a53172d2..fc2901ac961 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 4cc3b21d1ba..c31ca190775 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 190f3f84d90..3a308684277 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 58c39d0a7c4..8f82426d40b 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 17b46ed92df..db3c48d5a92 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 fe766ac7393..4a6e313052b 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 a9c7e8d494e..4c8ca44797b 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 73f240c2f5c..e4f170acb59 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 490e2ea300d..1cbd4732021 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 522020ec2a5..6d1b1700988 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 bf953c12aa7..0cbc98ef8fd 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 687b81cff4c..4e6390e9b21 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 cd1fba8a046..8f658846583 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 30983c7bef1..40a7968deda 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 d578c8d5922..1a5437c09d3 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 30983c7bef1..639ad6b8e42 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 4ba779c6629..a8ba7c28f3e 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 f18cc000eb2..3bccccefb9d 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 7d5f4d7b9ba..dd10e2a7381 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 f18cc000eb2..17769f505d0 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 1a336a809dd..61aae062d6b 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 f18cc000eb2..7930aa0d737 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 5585869862c..a027b42056f 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 30983c7bef1..34f444b1b07 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 5028ccb266e..ac437a5d72c 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 30983c7bef1..61178fda5b5 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 3dc64584408..cd40fc0afb1 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 ef74645631c..ada95415b22 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 ff4e46ff59e..9b470de602d 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 2d77e860721..dfe8db81b95 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 5357d353bd5..b70148f7f59 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 b4de9ed37f1..579976f210d 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 023cc1ebe4e..9a3ac95ad1b 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 f28b1bf009b..37fbded7b12 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 7ada7cde3a5..f0dbf5541f6 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 74982ec7ed5..a580aae802d 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 5109bd3553b..7d18baa048a 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 50a0dfe7294..e9d596c8553 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 e2f67145c9f..e9f147b2f7f 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 9f09d9d17ba..9b42b039e90 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 997e932688e..ee826834cf2 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 5004fa487fb..a4a34738cfe 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 8d6f1c2d6fd..498f64cc1ae 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 49163dc9aaf..f758ca56e40 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 46dedd54c54..1fe0f3ad797 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 6e204030499..f2cb48b8f9e 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 142564c5c27..8b7e183de96 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 9a968e5bda7..aef2ae9532b 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 c7871dce392..bb86fd6dd1f 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 19463cc96a9..44aaa666fb0 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 dc41e8e39ec..5c40c3601ea 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 f702fcd709a..02ca4dd666d 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 41ae45011d1..2a8a083df10 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 2bc96707299..bbde9f11dc2 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 e70f0d05016..606daa4b3c0 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 96e4a2e11aa..08b8c788667 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 455eb0d840a..3c2468c0e97 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 29e825cf73b..c0a2ced505a 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 e7a0b614cd4..3ca37ea2603 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 6ea93ddc558..1584ce4ce42 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 3a6b3c90711..f6afb0995c4 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 e46fcb8f397..1cf010f6ec3 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 6362ea50d44..e8165abc34b 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 bfefd437c89..fb283ce5fd0 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 e77184bb690..9f1bdaa9a20 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 341cf7c9963..ce57a232987 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 ff4186ecd4e..3797336953b 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 8475f75e3a4..067058042b1 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 85c51a46017..16ed76308a6 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 211e226bafd..9f5aa1c19bd 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 2e49b2cf6c0..d030a53eb38 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 c3bfef78178..bb326e4c4c1 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 71399b6eac6..b8b125d9983 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 602896b3d0c..155eae8a722 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 70e32262035..75231465f1f 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 aedbc2bcfb5..8199028dc62 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 845d71bc322..b0e4da15435 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 15d9b91cd60..7d6e1fd0502 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 e43450324fd..c3425dacbdd 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 d2aacaafcea..994ada2943f 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 8322f1af5c7..65fabf6539a 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 8e7fe86a3d9..713e0507ffc 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 3967079dffc..fc8496bbdf2 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 1a5750b799e..d9ac27fe5fc 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 422f292c1c1..e815706e246 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 a4454ef11b1..e9c3cf1f527 100755 --- a/tools/licensing/apachize.py +++ b/tools/licensing/apachize.py @@ -8,6 +8,8 @@ apache = r""" /**************************************************************************** * 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 ee8f2428346..d52ac3b59d1 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 7236d152dab..f969dd70675 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 21697638a5e..eab4b820dc8 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 70b2e091932..ca8a0c89570 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 4655af7daf4..8a7e28d7763 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 5478867b9cd..3ef08f9a44d 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 b1b73757658..ae4b267031a 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 6dc2fc762af..140925bdbc6 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 bfe217efa31..bddf29ccf4d 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 3e673decf69..01ebf7b3611 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 aa95f5bf9d6..aed6d1887f5 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 e6cac5913ae..2005264625a 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 5c521bb96c4..8bfa1347924 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 a38d245e2e0..f30a26923a6 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 a2bd2156c15..bf1d3f98a25 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 9a94f175c3c..55e11073ab5 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 dc504446ccf..d64951266bd 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 9e09c34d234..bd94788d700 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 285d79b312c..47aea01c9f2 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 2c2c9404a08..9c948fa8aa1 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 a11910136ac..92b9fc9fc4d 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 9deed6ffb23..345bc0a66c2 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 639169f2d0f..f981c2138f1 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 07166b66a0c..2dab9a86e77 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 4d481bd31ef..c8c076c2fe1 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 30947c12eaa..4af524f1c88 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 4975a34abc2..55d520788e2 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 aabcae21ac3..ee0b3968153 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 6cc6128cadd..bb2899a6aea 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 c107af04645..689c3a1c8d4 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 2a0248377f9..cba3dbf5f7a 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 381952f7cbc..bd695bc8d2d 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 a08f680db2e..a9aaf143182 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 98f479993f7..532cb0e1746 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 6b04b3624d8..d6ff44694d1 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 54b941fea81..2d3faa7fd86 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 c9d47e37a09..6e83d269ccc 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 d637f005171..1f319ddd7b6 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 4d99ca8d0f1..f7114154d47 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 bc82c0ed65c..ad1f5e22700 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 fd4df19c59e..ac15060df28 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 e612d045ad5..40d63192892 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 688e76e69e0..f0316a548c2 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 e0dce0a2ac5..03eb55f94fd 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 e4cfbe8861c..42c3e3f5e34 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 1583df74e1a..ba41563d4d7 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 cf04358089f..48fcf364162 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 53b26e95b4b..0eb9d1e45e9 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 3bd7e1667a3..4e1926dbb79 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 be60b901222..dad66a2306d 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 d5afed0da1f..2793e314d5a 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 1de25d925f6..3fea19bce8c 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 a4da78fdf72..82d1dd12414 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