From d86a4e5ee3ef66f8f17b267e5d14db489dc67305 Mon Sep 17 00:00:00 2001 From: Alin Jerpelea Date: Tue, 12 Nov 2024 09:59:20 +0100 Subject: [PATCH] boards/risk-v/qemu-rv: 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 --- boards/risc-v/qemu-rv/rv-virt/CMakeLists.txt | 2 ++ boards/risc-v/qemu-rv/rv-virt/include/board.h | 2 ++ boards/risc-v/qemu-rv/rv-virt/include/board_memorymap.h | 2 ++ boards/risc-v/qemu-rv/rv-virt/kernel/CMakeLists.txt | 2 ++ boards/risc-v/qemu-rv/rv-virt/kernel/Makefile | 2 ++ boards/risc-v/qemu-rv/rv-virt/kernel/rv_virt_userspace.c | 2 ++ boards/risc-v/qemu-rv/rv-virt/scripts/Make.defs | 2 ++ boards/risc-v/qemu-rv/rv-virt/scripts/gnu-elf.ld | 2 ++ boards/risc-v/qemu-rv/rv-virt/scripts/ld-kernel.script | 2 ++ boards/risc-v/qemu-rv/rv-virt/scripts/ld-nuttsbi.script | 2 ++ boards/risc-v/qemu-rv/rv-virt/scripts/ld-protected.mem | 2 ++ boards/risc-v/qemu-rv/rv-virt/scripts/ld-protected.script | 2 ++ boards/risc-v/qemu-rv/rv-virt/scripts/ld-userland.script | 2 ++ boards/risc-v/qemu-rv/rv-virt/scripts/ld.script | 2 ++ boards/risc-v/qemu-rv/rv-virt/src/CMakeLists.txt | 2 ++ boards/risc-v/qemu-rv/rv-virt/src/Makefile | 2 ++ boards/risc-v/qemu-rv/rv-virt/src/etc/init.d/rc.sysinit | 2 ++ boards/risc-v/qemu-rv/rv-virt/src/etc/init.d/rcS | 2 ++ boards/risc-v/qemu-rv/rv-virt/src/qemu_rv_appinit.c | 2 ++ boards/risc-v/qemu-rv/rv-virt/src/qemu_rv_autoleds.c | 2 ++ boards/risc-v/qemu-rv/rv-virt/src/qemu_rv_userleds.c | 2 ++ boards/risc-v/qemu-rv/rv-virt/src/romfs.h | 2 ++ boards/risc-v/qemu-rv/rv-virt/src/romfs_stub.c | 2 ++ 23 files changed, 46 insertions(+) diff --git a/boards/risc-v/qemu-rv/rv-virt/CMakeLists.txt b/boards/risc-v/qemu-rv/rv-virt/CMakeLists.txt index a7c54dabdbb..c58e434ddaa 100644 --- a/boards/risc-v/qemu-rv/rv-virt/CMakeLists.txt +++ b/boards/risc-v/qemu-rv/rv-virt/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # boards/risc-v/qemu-rv/rv-virt/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/boards/risc-v/qemu-rv/rv-virt/include/board.h b/boards/risc-v/qemu-rv/rv-virt/include/board.h index 17c984d11c9..871aedb83df 100644 --- a/boards/risc-v/qemu-rv/rv-virt/include/board.h +++ b/boards/risc-v/qemu-rv/rv-virt/include/board.h @@ -1,6 +1,8 @@ /**************************************************************************** * boards/risc-v/qemu-rv/rv-virt/include/board.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/boards/risc-v/qemu-rv/rv-virt/include/board_memorymap.h b/boards/risc-v/qemu-rv/rv-virt/include/board_memorymap.h index 58101fc19ac..25f7aee94ef 100644 --- a/boards/risc-v/qemu-rv/rv-virt/include/board_memorymap.h +++ b/boards/risc-v/qemu-rv/rv-virt/include/board_memorymap.h @@ -1,6 +1,8 @@ /**************************************************************************** * boards/risc-v/qemu-rv/rv-virt/include/board_memorymap.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/boards/risc-v/qemu-rv/rv-virt/kernel/CMakeLists.txt b/boards/risc-v/qemu-rv/rv-virt/kernel/CMakeLists.txt index 82638d9cc02..8caf64c58dc 100644 --- a/boards/risc-v/qemu-rv/rv-virt/kernel/CMakeLists.txt +++ b/boards/risc-v/qemu-rv/rv-virt/kernel/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # boards/risc-v/qemu-rv/rv-virt/kernel/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/boards/risc-v/qemu-rv/rv-virt/kernel/Makefile b/boards/risc-v/qemu-rv/rv-virt/kernel/Makefile index 2c069dbdb2b..09581bd3138 100644 --- a/boards/risc-v/qemu-rv/rv-virt/kernel/Makefile +++ b/boards/risc-v/qemu-rv/rv-virt/kernel/Makefile @@ -1,6 +1,8 @@ ############################################################################ # boards/risc-v/qemu-rv/rv-virt/kernel/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/boards/risc-v/qemu-rv/rv-virt/kernel/rv_virt_userspace.c b/boards/risc-v/qemu-rv/rv-virt/kernel/rv_virt_userspace.c index 621313ea42c..eaf2c8953ce 100644 --- a/boards/risc-v/qemu-rv/rv-virt/kernel/rv_virt_userspace.c +++ b/boards/risc-v/qemu-rv/rv-virt/kernel/rv_virt_userspace.c @@ -1,6 +1,8 @@ /**************************************************************************** * boards/risc-v/qemu-rv/rv-virt/kernel/rv_virt_userspace.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/boards/risc-v/qemu-rv/rv-virt/scripts/Make.defs b/boards/risc-v/qemu-rv/rv-virt/scripts/Make.defs index bd2be83a506..9b856a7a17b 100644 --- a/boards/risc-v/qemu-rv/rv-virt/scripts/Make.defs +++ b/boards/risc-v/qemu-rv/rv-virt/scripts/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # boards/risc-v/qemu-rv/rv-virt/scripts/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/boards/risc-v/qemu-rv/rv-virt/scripts/gnu-elf.ld b/boards/risc-v/qemu-rv/rv-virt/scripts/gnu-elf.ld index d5e77d8e2c0..6f082a1a87d 100644 --- a/boards/risc-v/qemu-rv/rv-virt/scripts/gnu-elf.ld +++ b/boards/risc-v/qemu-rv/rv-virt/scripts/gnu-elf.ld @@ -1,6 +1,8 @@ /**************************************************************************** * boards/risc-v/qemu-rv/rv-virt/scripts/gnu-elf.ld * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/boards/risc-v/qemu-rv/rv-virt/scripts/ld-kernel.script b/boards/risc-v/qemu-rv/rv-virt/scripts/ld-kernel.script index fb01640420d..33425169207 100644 --- a/boards/risc-v/qemu-rv/rv-virt/scripts/ld-kernel.script +++ b/boards/risc-v/qemu-rv/rv-virt/scripts/ld-kernel.script @@ -1,6 +1,8 @@ /**************************************************************************** * boards/risc-v/qemu-rv/rv-virt/scripts/ld.script * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/boards/risc-v/qemu-rv/rv-virt/scripts/ld-nuttsbi.script b/boards/risc-v/qemu-rv/rv-virt/scripts/ld-nuttsbi.script index 28f22c0d52c..7d209f460e4 100644 --- a/boards/risc-v/qemu-rv/rv-virt/scripts/ld-nuttsbi.script +++ b/boards/risc-v/qemu-rv/rv-virt/scripts/ld-nuttsbi.script @@ -1,6 +1,8 @@ /**************************************************************************** * boards/risc-v/qemu-rv/rv-virt/scripts/ld-nuttsbi.script * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/boards/risc-v/qemu-rv/rv-virt/scripts/ld-protected.mem b/boards/risc-v/qemu-rv/rv-virt/scripts/ld-protected.mem index 5d67adf8e51..2d028d3058e 100644 --- a/boards/risc-v/qemu-rv/rv-virt/scripts/ld-protected.mem +++ b/boards/risc-v/qemu-rv/rv-virt/scripts/ld-protected.mem @@ -1,6 +1,8 @@ /**************************************************************************** * boards/risc-v/qemu-rv/rv-virt/scripts/ld-protected.mem * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/boards/risc-v/qemu-rv/rv-virt/scripts/ld-protected.script b/boards/risc-v/qemu-rv/rv-virt/scripts/ld-protected.script index bc34cd40476..3b57dc7e239 100644 --- a/boards/risc-v/qemu-rv/rv-virt/scripts/ld-protected.script +++ b/boards/risc-v/qemu-rv/rv-virt/scripts/ld-protected.script @@ -1,6 +1,8 @@ /**************************************************************************** * boards/risc-v/qemu-rv/rv-virt/scripts/ld-protected.script * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/boards/risc-v/qemu-rv/rv-virt/scripts/ld-userland.script b/boards/risc-v/qemu-rv/rv-virt/scripts/ld-userland.script index 297df64947a..1e6e26c23fc 100644 --- a/boards/risc-v/qemu-rv/rv-virt/scripts/ld-userland.script +++ b/boards/risc-v/qemu-rv/rv-virt/scripts/ld-userland.script @@ -1,6 +1,8 @@ /**************************************************************************** * boards/risc-v/qemu-rv/rv-virt/scripts/ld-userland.script * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/boards/risc-v/qemu-rv/rv-virt/scripts/ld.script b/boards/risc-v/qemu-rv/rv-virt/scripts/ld.script index b91e06cc1ab..35e3fd99cd5 100644 --- a/boards/risc-v/qemu-rv/rv-virt/scripts/ld.script +++ b/boards/risc-v/qemu-rv/rv-virt/scripts/ld.script @@ -1,6 +1,8 @@ /**************************************************************************** * boards/risc-v/qemu-rv/rv-virt/scripts/ld.script * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/boards/risc-v/qemu-rv/rv-virt/src/CMakeLists.txt b/boards/risc-v/qemu-rv/rv-virt/src/CMakeLists.txt index 46e760f6cce..d17da82ab56 100644 --- a/boards/risc-v/qemu-rv/rv-virt/src/CMakeLists.txt +++ b/boards/risc-v/qemu-rv/rv-virt/src/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # boards/risc-v/qemu-rv/rv-virt/src/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/boards/risc-v/qemu-rv/rv-virt/src/Makefile b/boards/risc-v/qemu-rv/rv-virt/src/Makefile index 5c26c9a86d8..36278de7e47 100644 --- a/boards/risc-v/qemu-rv/rv-virt/src/Makefile +++ b/boards/risc-v/qemu-rv/rv-virt/src/Makefile @@ -1,6 +1,8 @@ ############################################################################ # boards/risc-v/qemu-rv/rv-virt/src/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/boards/risc-v/qemu-rv/rv-virt/src/etc/init.d/rc.sysinit b/boards/risc-v/qemu-rv/rv-virt/src/etc/init.d/rc.sysinit index 2f750bb6147..ca6eba4af6d 100644 --- a/boards/risc-v/qemu-rv/rv-virt/src/etc/init.d/rc.sysinit +++ b/boards/risc-v/qemu-rv/rv-virt/src/etc/init.d/rc.sysinit @@ -1,6 +1,8 @@ /**************************************************************************** * boards/risc-v/qemu-rv/rv-virt/src/etc/init.d/rc.sysinit * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/boards/risc-v/qemu-rv/rv-virt/src/etc/init.d/rcS b/boards/risc-v/qemu-rv/rv-virt/src/etc/init.d/rcS index 08a25f93ff5..d548d48a12c 100644 --- a/boards/risc-v/qemu-rv/rv-virt/src/etc/init.d/rcS +++ b/boards/risc-v/qemu-rv/rv-virt/src/etc/init.d/rcS @@ -1,6 +1,8 @@ /**************************************************************************** * boards/risc-v/qemu-rv/rv-virt/src/etc/init.d/rcS * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/boards/risc-v/qemu-rv/rv-virt/src/qemu_rv_appinit.c b/boards/risc-v/qemu-rv/rv-virt/src/qemu_rv_appinit.c index e94fde9005d..d86ed5764be 100644 --- a/boards/risc-v/qemu-rv/rv-virt/src/qemu_rv_appinit.c +++ b/boards/risc-v/qemu-rv/rv-virt/src/qemu_rv_appinit.c @@ -1,6 +1,8 @@ /**************************************************************************** * boards/risc-v/qemu-rv/rv-virt/src/qemu_rv_appinit.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/boards/risc-v/qemu-rv/rv-virt/src/qemu_rv_autoleds.c b/boards/risc-v/qemu-rv/rv-virt/src/qemu_rv_autoleds.c index d82f6910b81..7113b983037 100644 --- a/boards/risc-v/qemu-rv/rv-virt/src/qemu_rv_autoleds.c +++ b/boards/risc-v/qemu-rv/rv-virt/src/qemu_rv_autoleds.c @@ -1,6 +1,8 @@ /**************************************************************************** * boards/risc-v/qemu-rv/rv-virt/src/qemu_rv_autoleds.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/boards/risc-v/qemu-rv/rv-virt/src/qemu_rv_userleds.c b/boards/risc-v/qemu-rv/rv-virt/src/qemu_rv_userleds.c index 867b3242b5f..63ed1768509 100644 --- a/boards/risc-v/qemu-rv/rv-virt/src/qemu_rv_userleds.c +++ b/boards/risc-v/qemu-rv/rv-virt/src/qemu_rv_userleds.c @@ -1,6 +1,8 @@ /**************************************************************************** * boards/risc-v/qemu-rv/rv-virt/src/qemu_rv_userleds.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/boards/risc-v/qemu-rv/rv-virt/src/romfs.h b/boards/risc-v/qemu-rv/rv-virt/src/romfs.h index 746170cba0c..cffbe77171b 100644 --- a/boards/risc-v/qemu-rv/rv-virt/src/romfs.h +++ b/boards/risc-v/qemu-rv/rv-virt/src/romfs.h @@ -1,6 +1,8 @@ /**************************************************************************** * boards/risc-v/qemu-rv/rv-virt/src/romfs.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/boards/risc-v/qemu-rv/rv-virt/src/romfs_stub.c b/boards/risc-v/qemu-rv/rv-virt/src/romfs_stub.c index 8d47136f284..746c625ec15 100644 --- a/boards/risc-v/qemu-rv/rv-virt/src/romfs_stub.c +++ b/boards/risc-v/qemu-rv/rv-virt/src/romfs_stub.c @@ -1,6 +1,8 @@ /**************************************************************************** * boards/risc-v/qemu-rv/rv-virt/src/romfs_stub.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