From c9eef2d69751a0e969c67a8ae2a41bbd1c4b70e7 Mon Sep 17 00:00:00 2001 From: Alin Jerpelea Date: Tue, 10 Sep 2024 14:15:58 +0200 Subject: [PATCH] tools: migrate to SPDX identifier Most tools used for compliance and SBOM generation use SPDX identifiers This change brings us a step closer to an easy SBOM generation. Signed-off-by: Alin Jerpelea --- CMakeLists.txt | 2 ++ Makefile | 2 ++ pass1/Makefile | 2 ++ tools/CMakeLists.txt | 2 ++ tools/Config.mk | 2 ++ tools/D.defs | 2 ++ tools/Export.mk | 2 ++ tools/FlatLibs.mk | 2 ++ tools/KernelLibs.mk | 2 ++ tools/Makefile.host | 2 ++ tools/ProtectedLibs.mk | 2 ++ tools/Rust.defs | 2 ++ tools/Swift.defs | 4 +++- tools/Unix.mk | 2 ++ tools/Win.mk | 2 ++ tools/Zig.defs | 2 ++ tools/apps-or-nuttx-Make.defs | 2 ++ tools/b16.c | 3 ++- tools/bdf-converter.c | 2 ++ tools/build-globals.sh | 2 ++ tools/callstack.py | 2 ++ tools/cfgdefine.c | 2 ++ tools/cfgdefine.h | 2 ++ tools/cfgparser.c | 2 ++ tools/cfgparser.h | 2 ++ tools/checkpatch.sh | 2 ++ tools/checkrelease.sh | 2 ++ tools/ci/cibuild.sh | 2 ++ tools/ci/cirun.sh | 21 ++++++++++++++++++ tools/ci/docker/linux/Dockerfile | 4 +++- tools/ci/platforms/darwin.sh | 2 ++ tools/ci/platforms/linux.sh | 2 ++ tools/ci/platforms/msys2.sh | 2 ++ tools/ci/platforms/ubuntu.sh | 2 ++ tools/ci/testrun/script/__init__.py | 21 ++++++++++++++++++ tools/ci/testrun/script/conftest.py | 21 ++++++++++++++++++ .../testrun/script/test_example/__init__.py | 21 ++++++++++++++++++ .../script/test_example/test_example.py | 21 ++++++++++++++++++ .../testrun/script/test_framework/__init__.py | 21 ++++++++++++++++++ .../script/test_framework/test_cmocka.py | 21 ++++++++++++++++++ .../ci/testrun/script/test_libuv/__init__.py | 21 ++++++++++++++++++ .../testrun/script/test_libuv/test_libuv.py | 21 ++++++++++++++++++ .../script/test_open_posix/__init__.py | 21 ++++++++++++++++++ .../script/test_open_posix/test_openposix_.py | 21 ++++++++++++++++++ tools/ci/testrun/script/test_os/__init__.py | 21 ++++++++++++++++++ tools/ci/testrun/script/test_os/test_os.py | 21 ++++++++++++++++++ tools/ci/testrun/utils/__init__.py | 21 ++++++++++++++++++ tools/ci/testrun/utils/common.py | 22 ++++++++++++++++++- tools/ci/testrun/utils/data_model.py | 22 +++++++++++++++++++ tools/cmpconfig.c | 2 ++ tools/cnvwindeps.c | 2 ++ tools/configure.bat | 2 ++ tools/configure.c | 2 ++ tools/configure.sh | 2 ++ tools/configure_completion.bash | 4 +++- tools/convert-comments.c | 2 ++ tools/copydir.bat | 2 ++ tools/copydir.sh | 2 ++ tools/coredump.py | 2 ++ tools/csvparser.c | 2 ++ tools/csvparser.h | 2 ++ tools/cxd56/CMakeLists.txt | 2 ++ tools/cxd56/Config.mk | 2 ++ tools/cxd56/clefia.c | 2 ++ tools/cxd56/clefia.h | 2 ++ tools/cxd56/elf32.h | 2 ++ tools/cxd56/mkspk.c | 2 ++ tools/cxd56/mkspk.h | 2 ++ tools/define.bat | 2 ++ tools/define.sh | 2 ++ tools/detab.c | 2 ++ tools/discover.py | 2 ++ tools/esp32/Config.mk | 2 ++ tools/esp32/backtrace.gdbscript | 2 ++ tools/esp32/btdecode.sh | 2 ++ tools/esp32/mcuboot_toolchain_esp32.cmake | 2 ++ tools/esp32c3/Config.mk | 2 ++ tools/esp32s2/Config.mk | 2 ++ tools/esp32s2/mcuboot_toolchain_esp32s2.cmake | 2 ++ tools/esp32s3/Config.mk | 2 ++ tools/esp32s3/mcuboot_toolchain_esp32s3.cmake | 2 ++ tools/espressif/Config.mk | 2 ++ tools/espressif/build_mcuboot.sh | 22 ++++++++++++++++++- .../espressif/build_mcuboot_esp32c3_legacy.sh | 22 ++++++++++++++++++- .../mcuboot_toolchain_espressif.cmake | 2 ++ tools/flash_writer.py | 2 ++ tools/gcov.sh | 2 ++ tools/gdb/__init__.py | 2 ++ tools/gdb/lists.py | 2 ++ tools/gdb/memdump.py | 2 ++ tools/gdb/thread.py | 2 ++ tools/gdb/utils.py | 2 ++ tools/gdbserver.py | 2 ++ tools/gencromfs.c | 2 ++ tools/ide_exporter.py | 3 +++ tools/imx9/Config.mk | 2 ++ tools/imx9/Makefile.host | 2 ++ tools/incdir.bat | 2 ++ tools/incdir.c | 2 ++ tools/incdir.sh | 2 ++ tools/indent.sh | 2 ++ tools/initialconfig.c | 2 ++ tools/jlink-nuttx.c | 2 ++ tools/kasan_global.py | 2 ++ tools/kconfig.bat | 2 ++ tools/kconfig2html.c | 2 ++ tools/licensing/apachize.py | 2 ++ tools/licensing/check.py | 2 ++ tools/licensing/log2json.sh | 2 ++ tools/link.bat | 2 ++ tools/link.sh | 2 ++ tools/lowhex.c | 2 ++ tools/lwl/ocdconsole.py | 2 ++ tools/macar-qcs.sh | 2 ++ tools/merge_config.py | 2 ++ tools/mkallsyms.py | 2 ++ tools/mkallsyms.sh | 2 ++ tools/mkconfig.c | 2 ++ tools/mkconfigvars.sh | 2 ++ tools/mkctags.sh | 2 ++ tools/mkdeps.c | 2 ++ tools/mkexport.sh | 2 ++ tools/mkfsdata.pl | 2 ++ tools/mkfsdata.py | 2 ++ tools/mknulldeps.sh | 2 ++ tools/mkromfsimg.sh | 2 ++ tools/mksymtab.c | 2 ++ tools/mkversion.c | 2 ++ tools/mkwindeps.sh | 2 ++ tools/mpfs/Config.mk | 2 ++ tools/netusb.sh | 2 ++ tools/noteinfo.c | 2 ++ tools/nxstyle.c | 2 ++ tools/parsecallstack.py | 2 ++ tools/parsememdump.py | 2 ++ tools/parsetrace.py | 2 ++ tools/pic32/Config.mk | 2 ++ tools/pic32/Makefile.host | 2 ++ tools/pic32/mkpichex.c | 3 ++- tools/process_config.sh | 2 ++ tools/refresh.sh | 2 ++ tools/rmcr.c | 2 ++ tools/rp2040/Config.mk | 2 ++ tools/rp2040/make_flash_fs.c | 2 ++ tools/sethost.sh | 2 ++ tools/showsize.sh | 2 ++ tools/showstack.sh | 2 ++ tools/simbridge.sh | 2 ++ tools/simhostroute.sh | 2 ++ tools/simwifi/sim_wifi.sh | 2 ++ tools/stm32_pinmap_tool.py | 2 ++ tools/testbuild.sh | 2 ++ tools/unlink.bat | 2 ++ tools/unlink.sh | 2 ++ tools/version.sh | 2 ++ tools/xmlrpc_test.py | 2 ++ tools/zds/Config.mk | 2 ++ tools/zds/Makefile | 2 ++ tools/zds/zdsar.c | 2 ++ tools/zipme.sh | 2 ++ 160 files changed, 667 insertions(+), 8 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index fa902f6a35..02c9f6ef9b 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 58ab2ab464..ac65abe112 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 c1aa9c5e5b..4828bff0aa 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 41f6f8e388..07def1beb6 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 de959f0646..244157ba59 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 f46c41def6..8c0209a897 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 ec7fa5c2e2..528820f597 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 5ee873f7b8..514017f893 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 ef1933f99a..59e49463ef 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 938a6e9d4e..8ec6572c19 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 f1f7d30b21..8fd531d14f 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 1e055e3c5d..df68a4a79a 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 fd51a3088c..65af970299 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 eac201f68b..4bd7dad9e1 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 05d54b7ace..87fb218261 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 b1de13117e..6feabe72e2 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 1639b649fb..dfce5e64ff 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 89d2a19f07..9e3f199d74 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 44774f2677..86c12287c4 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 3661a35180..843015a289 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 a947fadcd6..2d1b3edf78 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 091a53172d..fc2901ac96 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 4cc3b21d1b..c31ca19077 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 190f3f84d9..3a30868427 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 58c39d0a7c..8f82426d40 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 17b46ed92d..db3c48d5a9 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 fe766ac739..4a6e313052 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 a9c7e8d494..4c8ca44797 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 73f240c2f5..e4f170acb5 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 490e2ea300..1cbd473202 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 522020ec2a..6d1b170098 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 bf953c12aa..0cbc98ef8f 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 687b81cff4..4e6390e9b2 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 cd1fba8a04..8f65884658 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 30983c7bef..40a7968ded 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 d578c8d592..1a5437c09d 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 30983c7bef..639ad6b8e4 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 4ba779c662..a8ba7c28f3 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 f18cc000eb..3bccccefb9 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 7d5f4d7b9b..dd10e2a738 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 f18cc000eb..17769f505d 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 1a336a809d..61aae062d6 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 f18cc000eb..7930aa0d73 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 5585869862..a027b42056 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 30983c7bef..34f444b1b0 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 5028ccb266..ac437a5d72 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 30983c7bef..61178fda5b 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 3dc6458440..cd40fc0afb 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 ef74645631..ada95415b2 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 ff4e46ff59..9b470de602 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 2d77e86072..dfe8db81b9 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 5357d353bd..b70148f7f5 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 b4de9ed37f..579976f210 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 023cc1ebe4..9a3ac95ad1 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 f28b1bf009..37fbded7b1 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 7ada7cde3a..f0dbf5541f 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 74982ec7ed..a580aae802 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 5109bd3553..7d18baa048 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 50a0dfe729..e9d596c855 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 e2f67145c9..e9f147b2f7 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 9f09d9d17b..9b42b039e9 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 997e932688..ee826834cf 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 5004fa487f..a4a34738cf 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 8d6f1c2d6f..498f64cc1a 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 49163dc9aa..f758ca56e4 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 46dedd54c5..1fe0f3ad79 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 6e20403049..f2cb48b8f9 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 142564c5c2..8b7e183de9 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 9a968e5bda..aef2ae9532 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 c7871dce39..bb86fd6dd1 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 19463cc96a..44aaa666fb 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 dc41e8e39e..5c40c3601e 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 f702fcd709..02ca4dd666 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 41ae45011d..2a8a083df1 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 2bc9670729..bbde9f11dc 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 e70f0d0501..606daa4b3c 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 96e4a2e11a..08b8c78866 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 455eb0d840..3c2468c0e9 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 29e825cf73..c0a2ced505 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 e7a0b614cd..3ca37ea260 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 6ea93ddc55..1584ce4ce4 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 3a6b3c9071..f6afb0995c 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 e46fcb8f39..1cf010f6ec 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 6362ea50d4..e8165abc34 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 bfefd437c8..fb283ce5fd 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 e77184bb69..9f1bdaa9a2 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 341cf7c996..ce57a23298 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 ff4186ecd4..3797336953 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 8475f75e3a..067058042b 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 85c51a4601..16ed76308a 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 211e226baf..9f5aa1c19b 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 2e49b2cf6c..d030a53eb3 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 c3bfef7817..bb326e4c4c 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 71399b6eac..b8b125d998 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 602896b3d0..155eae8a72 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 70e3226203..75231465f1 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 aedbc2bcfb..8199028dc6 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 845d71bc32..b0e4da1543 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 15d9b91cd6..7d6e1fd050 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 e43450324f..c3425dacbd 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 d2aacaafce..994ada2943 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 8322f1af5c..65fabf6539 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 8e7fe86a3d..713e0507ff 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 3967079dff..fc8496bbdf 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 1a5750b799..d9ac27fe5f 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 422f292c1c..e815706e24 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 a4454ef11b..e9c3cf1f52 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 ee8f242834..d52ac3b59d 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 7236d152da..f969dd7067 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 21697638a5..eab4b820dc 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 70b2e09193..ca8a0c8957 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 4655af7daf..8a7e28d776 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 5478867b9c..3ef08f9a44 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 b1b7375765..ae4b267031 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 6dc2fc762a..140925bdbc 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 bfe217efa3..bddf29ccf4 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 3e673decf6..01ebf7b361 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 aa95f5bf9d..aed6d1887f 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 e6cac5913a..2005264625 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 5c521bb96c..8bfa134792 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 a38d245e2e..f30a26923a 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 a2bd2156c1..bf1d3f98a2 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 9a94f175c3..55e11073ab 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 dc504446cc..d64951266b 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 9e09c34d23..bd94788d70 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 285d79b312..47aea01c9f 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 2c2c9404a0..9c948fa8aa 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 a11910136a..92b9fc9fc4 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 9deed6ffb2..345bc0a66c 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 639169f2d0..f981c2138f 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 07166b66a0..2dab9a86e7 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 4d481bd31e..c8c076c2fe 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 30947c12ea..4af524f1c8 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 4975a34abc..55d520788e 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 aabcae21ac..ee0b396815 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 6cc6128cad..bb2899a6ae 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 c107af0464..689c3a1c8d 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 2a0248377f..cba3dbf5f7 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 381952f7cb..bd695bc8d2 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 a08f680db2..a9aaf14318 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 98f479993f..532cb0e174 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 6b04b3624d..d6ff44694d 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 54b941fea8..2d3faa7fd8 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 c9d47e37a0..6e83d269cc 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 d637f00517..1f319ddd7b 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 4d99ca8d0f..f7114154d4 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 bc82c0ed65..ad1f5e2270 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 fd4df19c59..ac15060df2 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 e612d045ad..40d6319289 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 688e76e69e..f0316a548c 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 e0dce0a2ac..03eb55f94f 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 e4cfbe8861..42c3e3f5e3 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 1583df74e1..ba41563d4d 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 cf04358089..48fcf36416 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 53b26e95b4..0eb9d1e45e 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 3bd7e1667a..4e1926dbb7 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 be60b90122..dad66a2306 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 d5afed0da1..2793e314d5 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 1de25d925f..3fea19bce8 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 a4da78fdf7..82d1dd1241 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