From fd36921a295e321bde46df67b53248f30cd85f58 Mon Sep 17 00:00:00 2001 From: krzysztof-cabaj Date: Thu, 25 Sep 2025 17:48:55 +0200 Subject: [PATCH] cpu/native: move licenses to SPDX format --- cpu/native/Kconfig | 8 ++------ cpu/native/async_read.c | 15 ++++++--------- cpu/native/backtrace/backtrace.c | 7 ++----- cpu/native/cli_eui_provider/eui_provider.c | 7 ++----- cpu/native/cpu.c | 9 +++------ cpu/native/fs/native_fs.c | 7 ++----- cpu/native/include/architecture_arch.h | 7 ++----- cpu/native/include/async_read.h | 7 ++----- cpu/native/include/atomic_utils_arch.h | 7 ++----- cpu/native/include/backtrace.h | 7 ++----- cpu/native/include/can_params.h | 7 ++----- cpu/native/include/candev_linux.h | 7 ++----- cpu/native/include/cpu.h | 7 ++----- cpu/native/include/cpu_conf.h | 7 ++----- cpu/native/include/eeprom_native.h | 7 ++----- cpu/native/include/gpiodev_linux.h | 7 ++----- cpu/native/include/mtd_native.h | 7 ++----- cpu/native/include/native_cli_eui_provider.h | 7 ++----- cpu/native/include/native_internal.h | 9 +++------ cpu/native/include/netdev_tap.h | 7 ++----- cpu/native/include/netdev_tap_params.h | 7 ++----- cpu/native/include/periph_conf.h | 7 ++----- cpu/native/include/periph_cpu.h | 7 ++----- cpu/native/include/socket_zep.h | 7 ++----- cpu/native/include/socket_zep_params.h | 7 ++----- cpu/native/include/spidev_linux.h | 7 ++----- cpu/native/include/syscalls.h | 7 ++----- cpu/native/include/thread_arch.h | 9 +++------ cpu/native/include/tty_uart.h | 7 ++----- cpu/native/include/util/ucontext.h | 9 +++------ cpu/native/include/util/valgrind.h | 7 ++----- cpu/native/irq.c | 7 ++----- cpu/native/mtd/mtd_native.c | 7 ++----- cpu/native/netdev_tap/netdev_tap.c | 13 +++++-------- cpu/native/panic.c | 7 ++----- cpu/native/periph/can.c | 7 ++----- cpu/native/periph/cpuid.c | 7 ++----- cpu/native/periph/eeprom.c | 7 ++----- cpu/native/periph/flashpage.c | 7 ++----- cpu/native/periph/gpio_linux.c | 7 ++----- cpu/native/periph/gpio_mock.c | 7 ++----- cpu/native/periph/hwrng.c | 9 +++------ cpu/native/periph/pm.c | 7 ++----- cpu/native/periph/pwm.c | 7 ++----- cpu/native/periph/qdec.c | 7 ++----- cpu/native/periph/rtc.c | 7 ++----- cpu/native/periph/spidev_linux.c | 7 ++----- cpu/native/periph/timer.c | 9 +++------ cpu/native/periph/uart.c | 7 ++----- cpu/native/socket_zep/socket_zep.c | 7 ++----- cpu/native/startup.c | 9 +++------ cpu/native/stdio_native/stdio_native.c | 7 ++----- cpu/native/syscalls.c | 7 ++----- cpu/native/vfs/native_vfs.c | 7 ++----- 54 files changed, 122 insertions(+), 285 deletions(-) diff --git a/cpu/native/Kconfig b/cpu/native/Kconfig index e6f9a03f5f..2e12157936 100644 --- a/cpu/native/Kconfig +++ b/cpu/native/Kconfig @@ -1,9 +1,5 @@ -# Copyright (c) 2020 HAW Hamburg -# -# This file is subject to the terms and conditions of the GNU Lesser -# General Public License v2.1. See the file LICENSE in the top level -# directory for more details. -# +# SPDX-FileCopyrightText: 2020 HAW Hamburg +# SPDX-License-Identifier: LGPL-2.1-only config CPU_ARCH_NATIVE bool diff --git a/cpu/native/async_read.c b/cpu/native/async_read.c index 47bd94a2a6..8118add43b 100644 --- a/cpu/native/async_read.c +++ b/cpu/native/async_read.c @@ -1,13 +1,10 @@ /* - * Copyright (C) 2015 Ludwig Knüpfer , - * Martine Lenders - * Kaspar Schleiser - * Ell-i open source co-operative - * Takuo Yonezawa - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2015 Ludwig Knüpfer , + * SPDX-FileCopyrightText: 2015 Martine Lenders + * SPDX-FileCopyrightText: 2015 Kaspar Schleiser + * SPDX-FileCopyrightText: 2015 Ell-i open source co-operative + * SPDX-FileCopyrightText: 2015 Takuo Yonezawa + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/cpu/native/backtrace/backtrace.c b/cpu/native/backtrace/backtrace.c index cb38361293..b166ca4242 100644 --- a/cpu/native/backtrace/backtrace.c +++ b/cpu/native/backtrace/backtrace.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2017 Freie Universität Berlin - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2017 Freie Universität Berlin + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/cpu/native/cli_eui_provider/eui_provider.c b/cpu/native/cli_eui_provider/eui_provider.c index 1ed2723117..86ddaa0ada 100644 --- a/cpu/native/cli_eui_provider/eui_provider.c +++ b/cpu/native/cli_eui_provider/eui_provider.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2020 Benjamin Valentin - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2020 Benjamin Valentin + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/cpu/native/cpu.c b/cpu/native/cpu.c index c230bcf774..026b145790 100644 --- a/cpu/native/cpu.c +++ b/cpu/native/cpu.c @@ -1,10 +1,7 @@ /* - * Copyright (C) 2016 Kaspar Schleiser - * 2013 Ludwig Knüpfer - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2016 Kaspar Schleiser + * SPDX-FileCopyrightText: 2013 Ludwig Knüpfer + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/cpu/native/fs/native_fs.c b/cpu/native/fs/native_fs.c index 015a65ec30..62851741be 100644 --- a/cpu/native/fs/native_fs.c +++ b/cpu/native/fs/native_fs.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2023 ML!PA Consulting GmbH - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2023 ML!PA Consulting GmbH + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/cpu/native/include/architecture_arch.h b/cpu/native/include/architecture_arch.h index 1d480801fd..2f5e90a111 100644 --- a/cpu/native/include/architecture_arch.h +++ b/cpu/native/include/architecture_arch.h @@ -1,9 +1,6 @@ /* - * Copyright (C) 2020 Otto-von-Guericke-Universität Magdeburg - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2020 Otto-von-Guericke-Universität Magdeburg + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/cpu/native/include/async_read.h b/cpu/native/include/async_read.h index 34af845a4c..a14868cca0 100644 --- a/cpu/native/include/async_read.h +++ b/cpu/native/include/async_read.h @@ -1,9 +1,6 @@ /* - * Copyright (C) 2015 Takuo Yonezawa - * - * This file is subject to the terms and conditions of the GNU Lesser General - * Public License v2.1. See the file LICENSE in the top level directory for - * more details. + * SPDX-FileCopyrightText: 2015 Takuo Yonezawa + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/cpu/native/include/atomic_utils_arch.h b/cpu/native/include/atomic_utils_arch.h index e0bf7b2d8a..5cd75510af 100644 --- a/cpu/native/include/atomic_utils_arch.h +++ b/cpu/native/include/atomic_utils_arch.h @@ -1,9 +1,6 @@ /* - * Copyright (C) 2020 Otto-von-Guericke-Universität Magdeburg - * - * This file is subject to the terms and conditions of the GNU Lesser General - * Public License v2.1. See the file LICENSE in the top level directory for more - * details. + * SPDX-FileCopyrightText: 2020 Otto-von-Guericke-Universität Magdeburg + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/cpu/native/include/backtrace.h b/cpu/native/include/backtrace.h index c519af6dad..4087409fd4 100644 --- a/cpu/native/include/backtrace.h +++ b/cpu/native/include/backtrace.h @@ -1,9 +1,6 @@ /* - * Copyright (C) 2017 Freie Universität Berlin - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2017 Freie Universität Berlin + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/cpu/native/include/can_params.h b/cpu/native/include/can_params.h index 9e642af843..54837a4795 100644 --- a/cpu/native/include/can_params.h +++ b/cpu/native/include/can_params.h @@ -1,9 +1,6 @@ /* - * Copyright (C) 2016 OTA keys S.A. - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2016 OTA keys S.A. + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/cpu/native/include/candev_linux.h b/cpu/native/include/candev_linux.h index 79f5c9e3e0..08929dab30 100644 --- a/cpu/native/include/candev_linux.h +++ b/cpu/native/include/candev_linux.h @@ -1,9 +1,6 @@ /* - * Copyright (C) 2016 OTA keys S.A. - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2016 OTA keys S.A. + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/cpu/native/include/cpu.h b/cpu/native/include/cpu.h index 0d857a7da7..b0cdc5a5ef 100644 --- a/cpu/native/include/cpu.h +++ b/cpu/native/include/cpu.h @@ -1,9 +1,6 @@ /* - * Copyright (C) 2013 - 2016 Ludwig Knüpfer - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2013-2016 Ludwig Knüpfer + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/cpu/native/include/cpu_conf.h b/cpu/native/include/cpu_conf.h index eaf78453ca..fb0875fd4d 100644 --- a/cpu/native/include/cpu_conf.h +++ b/cpu/native/include/cpu_conf.h @@ -1,9 +1,6 @@ /* - * Copyright (C) 2013 Ludwig Knüpfer - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2013 Ludwig Knüpfer + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/cpu/native/include/eeprom_native.h b/cpu/native/include/eeprom_native.h index 7395687f12..be7847e5e8 100644 --- a/cpu/native/include/eeprom_native.h +++ b/cpu/native/include/eeprom_native.h @@ -1,9 +1,6 @@ /* - * Copyright (C) 2019 Inria - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2019 Inria + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/cpu/native/include/gpiodev_linux.h b/cpu/native/include/gpiodev_linux.h index b7d4827066..8b0e6de61a 100644 --- a/cpu/native/include/gpiodev_linux.h +++ b/cpu/native/include/gpiodev_linux.h @@ -1,9 +1,6 @@ /* - * Copyright (C) 2019 Benjamin Valentin - * - * This file is subject to the terms and conditions of the GNU Lesser General - * Public License v2.1. See the file LICENSE in the top level directory for - * more details. + * SPDX-FileCopyrightText: 2019 Benjamin Valentin + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/cpu/native/include/mtd_native.h b/cpu/native/include/mtd_native.h index 9f2fdaab0b..db9abff862 100644 --- a/cpu/native/include/mtd_native.h +++ b/cpu/native/include/mtd_native.h @@ -1,9 +1,6 @@ /* - * Copyright (C) 2016 OTA keys S.A. - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2016 OTA keys S.A. + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/cpu/native/include/native_cli_eui_provider.h b/cpu/native/include/native_cli_eui_provider.h index 605ed3b597..c6568b1214 100644 --- a/cpu/native/include/native_cli_eui_provider.h +++ b/cpu/native/include/native_cli_eui_provider.h @@ -1,9 +1,6 @@ /* - * Copyright (C) 2020 Benjamin Valentin - * - * This file is subject to the terms and conditions of the GNU Lesser General - * Public License v2.1. See the file LICENSE in the top level directory for - * more details. + * SPDX-FileCopyrightText: 2020 Benjamin Valentin + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/cpu/native/include/native_internal.h b/cpu/native/include/native_internal.h index ae7deb5597..5dbeb0dac0 100644 --- a/cpu/native/include/native_internal.h +++ b/cpu/native/include/native_internal.h @@ -1,10 +1,7 @@ /* - * Copyright (C) 2013, 2014 Ludwig Knüpfer - * Copyright (C) 2025 carl-tud - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2013-2014 Ludwig Knüpfer + * SPDX-FileCopyrightText: 2025 carl-tud + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/cpu/native/include/netdev_tap.h b/cpu/native/include/netdev_tap.h index 9100892b02..b40e5b9282 100644 --- a/cpu/native/include/netdev_tap.h +++ b/cpu/native/include/netdev_tap.h @@ -1,9 +1,6 @@ /* - * Copyright (C) 2015 Kaspar Schleiser - * - * This file is subject to the terms and conditions of the GNU Lesser General - * Public License v2.1. See the file LICENSE in the top level directory for - * more details. + * SPDX-FileCopyrightText: 2015 Kaspar Schleiser + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/cpu/native/include/netdev_tap_params.h b/cpu/native/include/netdev_tap_params.h index d4b072e77b..17c6aa9bfb 100644 --- a/cpu/native/include/netdev_tap_params.h +++ b/cpu/native/include/netdev_tap_params.h @@ -1,9 +1,6 @@ /* - * Copyright (C) 2017 Freie Universität Berlin - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2017 Freie Universität Berlin + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/cpu/native/include/periph_conf.h b/cpu/native/include/periph_conf.h index ac808ed240..141bc73e9d 100644 --- a/cpu/native/include/periph_conf.h +++ b/cpu/native/include/periph_conf.h @@ -1,9 +1,6 @@ /* - * Copyright (C) 2014 Ludwig Knüpfer - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2014 Ludwig Knüpfer + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/cpu/native/include/periph_cpu.h b/cpu/native/include/periph_cpu.h index 32c0f5ccf0..4d42b59caa 100644 --- a/cpu/native/include/periph_cpu.h +++ b/cpu/native/include/periph_cpu.h @@ -1,9 +1,6 @@ /* - * Copyright (C) 2015 Freie Universität Berlin - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2015 Freie Universität Berlin + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/cpu/native/include/socket_zep.h b/cpu/native/include/socket_zep.h index 71d4091d64..6e819c75f5 100644 --- a/cpu/native/include/socket_zep.h +++ b/cpu/native/include/socket_zep.h @@ -1,9 +1,6 @@ /* - * Copyright (C) 2016 Freie Universität Berlin - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2016 Freie Universität Berlin + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/cpu/native/include/socket_zep_params.h b/cpu/native/include/socket_zep_params.h index ba6f4847ae..5b35279a2f 100644 --- a/cpu/native/include/socket_zep_params.h +++ b/cpu/native/include/socket_zep_params.h @@ -1,9 +1,6 @@ /* - * Copyright (C) 2016 Freie Universität Berlin - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2016 Freie Universität Berlin + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/cpu/native/include/spidev_linux.h b/cpu/native/include/spidev_linux.h index 28cad2de4c..841a2b86f8 100644 --- a/cpu/native/include/spidev_linux.h +++ b/cpu/native/include/spidev_linux.h @@ -1,9 +1,6 @@ /* - * Copyright (C) 2019 Frank Hessel - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2019 Frank Hessel + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/cpu/native/include/syscalls.h b/cpu/native/include/syscalls.h index d50034a315..485613f50d 100644 --- a/cpu/native/include/syscalls.h +++ b/cpu/native/include/syscalls.h @@ -1,9 +1,6 @@ /* - * Copyright (C) 2013 Ludwig Knüpfer - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2013 Ludwig Knüpfer + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/cpu/native/include/thread_arch.h b/cpu/native/include/thread_arch.h index 52fe60819a..9bd2339676 100644 --- a/cpu/native/include/thread_arch.h +++ b/cpu/native/include/thread_arch.h @@ -1,10 +1,7 @@ /* - * Copyright (C) 2021 Koen Zandberg - * 2021 Inria - * - * This file is subject to the terms and conditions of the GNU Lesser General - * Public License v2.1. See the file LICENSE in the top level directory for more - * details. + * SPDX-FileCopyrightText: 2021 Koen Zandberg + * SPDX-FileCopyrightText: 2021 Inria + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/cpu/native/include/tty_uart.h b/cpu/native/include/tty_uart.h index 768dca2ec9..f2285646cd 100644 --- a/cpu/native/include/tty_uart.h +++ b/cpu/native/include/tty_uart.h @@ -1,9 +1,6 @@ /* - * Copyright (C) 2015 Takuo Yonezawa - * - * This file is subject to the terms and conditions of the GNU Lesser General - * Public License v2.1. See the file LICENSE in the top level directory for - * more details. + * SPDX-FileCopyrightText: 2015 Takuo Yonezawa + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/cpu/native/include/util/ucontext.h b/cpu/native/include/util/ucontext.h index 2b43640c1d..3beb61e9d0 100644 --- a/cpu/native/include/util/ucontext.h +++ b/cpu/native/include/util/ucontext.h @@ -1,10 +1,7 @@ /* - * Copyright (C) 2013 - 2016 Ludwig Knüpfer - * Copyright (C) 2025 carl-tud - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2013-2016 Ludwig Knüpfer + * SPDX-FileCopyrightText: 2025 carl-tud + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/cpu/native/include/util/valgrind.h b/cpu/native/include/util/valgrind.h index ad4985226f..ae4ca05067 100644 --- a/cpu/native/include/util/valgrind.h +++ b/cpu/native/include/util/valgrind.h @@ -1,9 +1,6 @@ /* - * Copyright (C) 2025 carl-tud - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2025 carl-tud + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/cpu/native/irq.c b/cpu/native/irq.c index cc55e409ed..ecbb61965c 100644 --- a/cpu/native/irq.c +++ b/cpu/native/irq.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2013 Ludwig Knüpfer - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2013 Ludwig Knüpfer + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/cpu/native/mtd/mtd_native.c b/cpu/native/mtd/mtd_native.c index 11db5d0a4a..47de1885de 100644 --- a/cpu/native/mtd/mtd_native.c +++ b/cpu/native/mtd/mtd_native.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2016 OTA keys S.A. - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2016 OTA keys S.A. + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/cpu/native/netdev_tap/netdev_tap.c b/cpu/native/netdev_tap/netdev_tap.c index 8ddf7fc77a..54993b6612 100644 --- a/cpu/native/netdev_tap/netdev_tap.c +++ b/cpu/native/netdev_tap/netdev_tap.c @@ -1,12 +1,9 @@ /* - * Copyright (C) 2015 Ludwig Knüpfer , - * Martine Lenders - * Kaspar Schleiser - * Ell-i open source co-operative - * - * This file is subject to the terms and conditions of the GNU Lesser General - * Public License v2.1. See the file LICENSE in the top level directory for - * more details. + * SPDX-FileCopyrightText: 2015 Ludwig Knüpfer , + * SPDX-FileCopyrightText: 2015 Martine Lenders + * SPDX-FileCopyrightText: 2015 Kaspar Schleiser + * SPDX-FileCopyrightText: 2015 Ell-i open source co-operative + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/cpu/native/panic.c b/cpu/native/panic.c index 6d1be76732..ac4c4a9ff6 100644 --- a/cpu/native/panic.c +++ b/cpu/native/panic.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2014, 2015 Freie Universitaet Berlin (FUB) and INRIA - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2014-2015 Freie Universität Berlin (FUB) and INRIA + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/cpu/native/periph/can.c b/cpu/native/periph/can.c index a5fd61b2c9..6ec74747fe 100644 --- a/cpu/native/periph/can.c +++ b/cpu/native/periph/can.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2016 OTA keys S.A. - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2016 OTA keys S.A. + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/cpu/native/periph/cpuid.c b/cpu/native/periph/cpuid.c index 1eebe4494c..d0d1f685cb 100644 --- a/cpu/native/periph/cpuid.c +++ b/cpu/native/periph/cpuid.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2014 Martine Lenders - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2014 Martine Lenders + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/cpu/native/periph/eeprom.c b/cpu/native/periph/eeprom.c index ea9f7cb6df..be035664a0 100644 --- a/cpu/native/periph/eeprom.c +++ b/cpu/native/periph/eeprom.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2019 Inria - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2019 Inria + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/cpu/native/periph/flashpage.c b/cpu/native/periph/flashpage.c index 3fb8200091..ee829216c2 100644 --- a/cpu/native/periph/flashpage.c +++ b/cpu/native/periph/flashpage.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2021 ML!PA Consulting GmbH - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2021 ML!PA Consulting GmbH + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/cpu/native/periph/gpio_linux.c b/cpu/native/periph/gpio_linux.c index 024a8ac4c9..7feb7ff980 100644 --- a/cpu/native/periph/gpio_linux.c +++ b/cpu/native/periph/gpio_linux.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2019 Benjamin Valentin - * - * This file is subject to the terms and conditions of the GNU Lesser General - * Public License v2.1. See the file LICENSE in the top level directory for - * more details. + * SPDX-FileCopyrightText: 2019 Benjamin Valentin + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/cpu/native/periph/gpio_mock.c b/cpu/native/periph/gpio_mock.c index ecaf7555dd..1bacf92b9f 100644 --- a/cpu/native/periph/gpio_mock.c +++ b/cpu/native/periph/gpio_mock.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2015 Takuo Yonezawa - * - * This file is subject to the terms and conditions of the GNU Lesser General - * Public License v2.1. See the file LICENSE in the top level directory for - * more details. + * SPDX-FileCopyrightText: 2015 Takuo Yonezawa + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/cpu/native/periph/hwrng.c b/cpu/native/periph/hwrng.c index f4301b3c2e..99a6250262 100644 --- a/cpu/native/periph/hwrng.c +++ b/cpu/native/periph/hwrng.c @@ -1,10 +1,7 @@ /* - * Copyright (C) 2014 Ludwig Knüpfer - * 2016 Freie Universität Berlin - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2014 Ludwig Knüpfer + * SPDX-FileCopyrightText: 2016 Freie Universität Berlin + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/cpu/native/periph/pm.c b/cpu/native/periph/pm.c index 7fda4515b0..4d5c63b447 100644 --- a/cpu/native/periph/pm.c +++ b/cpu/native/periph/pm.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2016 Kaspar Schleiser - * - * This file is subject to the terms and conditions of the GNU Lesser General - * Public License v2.1. See the file LICENSE in the top level directory for - * more details. + * SPDX-FileCopyrightText: 2016 Kaspar Schleiser + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/cpu/native/periph/pwm.c b/cpu/native/periph/pwm.c index cb92aecf9d..e45903b206 100644 --- a/cpu/native/periph/pwm.c +++ b/cpu/native/periph/pwm.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2018 Gilles DOFFE - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2018 Gilles DOFFE + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/cpu/native/periph/qdec.c b/cpu/native/periph/qdec.c index 47c6d29c10..1a0675eba3 100644 --- a/cpu/native/periph/qdec.c +++ b/cpu/native/periph/qdec.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2017 Gilles DOFFE - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2017 Gilles DOFFE + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/cpu/native/periph/rtc.c b/cpu/native/periph/rtc.c index aa4bcd1b74..3d0edb6d4f 100644 --- a/cpu/native/periph/rtc.c +++ b/cpu/native/periph/rtc.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2013, 2014 Ludwig Knüpfer - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2013-2014 Ludwig Knüpfer + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/cpu/native/periph/spidev_linux.c b/cpu/native/periph/spidev_linux.c index e204e46c21..571efbf737 100644 --- a/cpu/native/periph/spidev_linux.c +++ b/cpu/native/periph/spidev_linux.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2019 Frank Hessel - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2019 Frank Hessel + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/cpu/native/periph/timer.c b/cpu/native/periph/timer.c index 507aa63830..a3f867ea32 100644 --- a/cpu/native/periph/timer.c +++ b/cpu/native/periph/timer.c @@ -1,10 +1,7 @@ /* - * Copyright (C) 2013 Ludwig Knüpfer - * 2015 Kaspar Schleiser - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2013 Ludwig Knüpfer + * SPDX-FileCopyrightText: 2015 Kaspar Schleiser + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/cpu/native/periph/uart.c b/cpu/native/periph/uart.c index a1b2994409..d836c54445 100644 --- a/cpu/native/periph/uart.c +++ b/cpu/native/periph/uart.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2015 Takuo Yonezawa - * - * This file is subject to the terms and conditions of the GNU Lesser General - * Public License v2.1. See the file LICENSE in the top level directory for - * more details. + * SPDX-FileCopyrightText: 2015 Takuo Yonezawa + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/cpu/native/socket_zep/socket_zep.c b/cpu/native/socket_zep/socket_zep.c index 751c5d3ca1..1e3ace7278 100644 --- a/cpu/native/socket_zep/socket_zep.c +++ b/cpu/native/socket_zep/socket_zep.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2016 Freie Universität Berlin - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2016 Freie Universität Berlin + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/cpu/native/startup.c b/cpu/native/startup.c index 758e133a2b..7c3ff65f11 100644 --- a/cpu/native/startup.c +++ b/cpu/native/startup.c @@ -1,10 +1,7 @@ /* - * Copyright (C) 2013 Ludwig Knüpfer - * 2017 Freie Universität Berlin - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2013 Ludwig Knüpfer + * SPDX-FileCopyrightText: 2017 Freie Universität Berlin + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/cpu/native/stdio_native/stdio_native.c b/cpu/native/stdio_native/stdio_native.c index 78cd639599..c8c030b9e1 100644 --- a/cpu/native/stdio_native/stdio_native.c +++ b/cpu/native/stdio_native/stdio_native.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2019 Freie Universität Berlin - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2019 Freie Universität Berlin + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/cpu/native/syscalls.c b/cpu/native/syscalls.c index 25828f49c6..659ddba135 100644 --- a/cpu/native/syscalls.c +++ b/cpu/native/syscalls.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2013 Ludwig Knüpfer - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2013 Ludwig Knüpfer + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/cpu/native/vfs/native_vfs.c b/cpu/native/vfs/native_vfs.c index 8d4adf6a72..f0230fa752 100644 --- a/cpu/native/vfs/native_vfs.c +++ b/cpu/native/vfs/native_vfs.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2016 Kaspar Schleiser - * - * This file is subject to the terms and conditions of the GNU Lesser General - * Public License v2.1. See the file LICENSE in the top level directory for - * more details. + * SPDX-FileCopyrightText: 2016 Kaspar Schleiser + * SPDX-License-Identifier: LGPL-2.1-only */ /**