Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tools: migrate to SPDX identifier #13359

Merged
merged 1 commit into from
Sep 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions pass1/Makefile
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions tools/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions tools/Config.mk
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions tools/D.defs
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions tools/Export.mk
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions tools/FlatLibs.mk
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions tools/KernelLibs.mk
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions tools/Makefile.host
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions tools/ProtectedLibs.mk
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions tools/Rust.defs
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 3 additions & 1 deletion tools/Swift.defs
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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,
# x86_64-unknown-linux-gnu, x86_64-unknown-none-elf,
2 changes: 2 additions & 0 deletions tools/Unix.mk
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions tools/Win.mk
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions tools/Zig.defs
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions tools/apps-or-nuttx-Make.defs
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 2 additions & 1 deletion tools/b16.c
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions tools/bdf-converter.c
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions tools/build-globals.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions tools/callstack.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions tools/cfgdefine.c
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions tools/cfgdefine.h
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions tools/cfgparser.c
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions tools/cfgparser.h
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions tools/checkpatch.sh
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 2 additions & 0 deletions tools/checkrelease.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions tools/ci/cibuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
21 changes: 21 additions & 0 deletions tools/ci/cirun.sh
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 3 additions & 1 deletion tools/ci/docker/linux/Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -533,4 +535,4 @@ RUN mkdir -p /ccache && \
ENV PATH="/tools/ccache/bin:$PATH"
ENV CCACHE_DIR="/ccache"

CMD [ "/bin/bash" ]
CMD [ "/bin/bash" ]
2 changes: 2 additions & 0 deletions tools/ci/platforms/darwin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions tools/ci/platforms/linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions tools/ci/platforms/msys2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions tools/ci/platforms/ubuntu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
21 changes: 21 additions & 0 deletions tools/ci/testrun/script/__init__.py
Original file line number Diff line number Diff line change
@@ -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
21 changes: 21 additions & 0 deletions tools/ci/testrun/script/conftest.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Loading
Loading