From 7ab069ee88ead0323efd944c4f67f8a68d277cfd Mon Sep 17 00:00:00 2001 From: Alin Jerpelea Date: Tue, 12 Nov 2024 09:47:29 +0100 Subject: [PATCH] boards/risk-v/k230: 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/k230/canmv230/CMakeLists.txt | 2 ++ boards/risc-v/k230/canmv230/include/board.h | 2 ++ boards/risc-v/k230/canmv230/include/board_memorymap.h | 2 ++ boards/risc-v/k230/canmv230/kernel/Makefile | 2 ++ boards/risc-v/k230/canmv230/kernel/k230_userspace.c | 2 ++ boards/risc-v/k230/canmv230/scripts/Make.defs | 2 ++ boards/risc-v/k230/canmv230/scripts/gnu-elf.ld | 2 ++ boards/risc-v/k230/canmv230/scripts/ld-flat.script | 2 ++ boards/risc-v/k230/canmv230/scripts/ld-kernel.script | 2 ++ boards/risc-v/k230/canmv230/scripts/ld-nuttsbi.script | 2 ++ boards/risc-v/k230/canmv230/scripts/ld-protected.mem | 2 ++ boards/risc-v/k230/canmv230/scripts/ld-protected.script | 2 ++ boards/risc-v/k230/canmv230/scripts/ld-userland.script | 2 ++ boards/risc-v/k230/canmv230/src/CMakeLists.txt | 2 ++ boards/risc-v/k230/canmv230/src/Makefile | 2 ++ boards/risc-v/k230/canmv230/src/canmv_init.c | 2 ++ boards/risc-v/k230/canmv230/src/etc/init.d/rc.sysinit | 2 ++ boards/risc-v/k230/canmv230/src/etc/init.d/rcS | 2 ++ boards/risc-v/k230/canmv230/src/romfs.h | 2 ++ boards/risc-v/k230/canmv230/src/romfs_stub.c | 2 ++ 20 files changed, 40 insertions(+) diff --git a/boards/risc-v/k230/canmv230/CMakeLists.txt b/boards/risc-v/k230/canmv230/CMakeLists.txt index 66e5edf33a..30f16d0863 100644 --- a/boards/risc-v/k230/canmv230/CMakeLists.txt +++ b/boards/risc-v/k230/canmv230/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # boards/risc-v/k230/canmv230/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/k230/canmv230/include/board.h b/boards/risc-v/k230/canmv230/include/board.h index d27bbcb107..07a403cbca 100644 --- a/boards/risc-v/k230/canmv230/include/board.h +++ b/boards/risc-v/k230/canmv230/include/board.h @@ -1,6 +1,8 @@ /**************************************************************************** * boards/risc-v/k230/canmv230/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/k230/canmv230/include/board_memorymap.h b/boards/risc-v/k230/canmv230/include/board_memorymap.h index 4c5a5e09d3..f76bd021e0 100644 --- a/boards/risc-v/k230/canmv230/include/board_memorymap.h +++ b/boards/risc-v/k230/canmv230/include/board_memorymap.h @@ -1,6 +1,8 @@ /**************************************************************************** * boards/risc-v/k230/canmv230/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/k230/canmv230/kernel/Makefile b/boards/risc-v/k230/canmv230/kernel/Makefile index 1cbb70ed76..cc180ccc1a 100644 --- a/boards/risc-v/k230/canmv230/kernel/Makefile +++ b/boards/risc-v/k230/canmv230/kernel/Makefile @@ -1,6 +1,8 @@ ############################################################################ # boards/risc-v/k230/canmv230/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/k230/canmv230/kernel/k230_userspace.c b/boards/risc-v/k230/canmv230/kernel/k230_userspace.c index c399a795d4..133a4dc477 100644 --- a/boards/risc-v/k230/canmv230/kernel/k230_userspace.c +++ b/boards/risc-v/k230/canmv230/kernel/k230_userspace.c @@ -1,6 +1,8 @@ /**************************************************************************** * boards/risc-v/k230/canmv230/kernel/k230_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/k230/canmv230/scripts/Make.defs b/boards/risc-v/k230/canmv230/scripts/Make.defs index da54ecd24c..13a6668085 100644 --- a/boards/risc-v/k230/canmv230/scripts/Make.defs +++ b/boards/risc-v/k230/canmv230/scripts/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # boards/risc-v/k230/canmv230/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/k230/canmv230/scripts/gnu-elf.ld b/boards/risc-v/k230/canmv230/scripts/gnu-elf.ld index c304a43982..0c0d18f434 100644 --- a/boards/risc-v/k230/canmv230/scripts/gnu-elf.ld +++ b/boards/risc-v/k230/canmv230/scripts/gnu-elf.ld @@ -1,6 +1,8 @@ /**************************************************************************** * boards/risc-v/k230/camnv230/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/k230/canmv230/scripts/ld-flat.script b/boards/risc-v/k230/canmv230/scripts/ld-flat.script index 3e340ddfaa..d61c2836dd 100644 --- a/boards/risc-v/k230/canmv230/scripts/ld-flat.script +++ b/boards/risc-v/k230/canmv230/scripts/ld-flat.script @@ -1,6 +1,8 @@ /**************************************************************************** * boards/risc-v/k230/canmv230/scripts/ld-flat.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/k230/canmv230/scripts/ld-kernel.script b/boards/risc-v/k230/canmv230/scripts/ld-kernel.script index cf673c7456..984d3bb678 100644 --- a/boards/risc-v/k230/canmv230/scripts/ld-kernel.script +++ b/boards/risc-v/k230/canmv230/scripts/ld-kernel.script @@ -1,6 +1,8 @@ /**************************************************************************** * boards/risc-v/k230/canmv230/scripts/ld-kernel.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/k230/canmv230/scripts/ld-nuttsbi.script b/boards/risc-v/k230/canmv230/scripts/ld-nuttsbi.script index 725a5fdad3..cc988f7af6 100644 --- a/boards/risc-v/k230/canmv230/scripts/ld-nuttsbi.script +++ b/boards/risc-v/k230/canmv230/scripts/ld-nuttsbi.script @@ -1,6 +1,8 @@ /**************************************************************************** * boards/risc-v/k230/canmv230/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/k230/canmv230/scripts/ld-protected.mem b/boards/risc-v/k230/canmv230/scripts/ld-protected.mem index 9f90b679bf..91f5a717f9 100644 --- a/boards/risc-v/k230/canmv230/scripts/ld-protected.mem +++ b/boards/risc-v/k230/canmv230/scripts/ld-protected.mem @@ -1,6 +1,8 @@ /**************************************************************************** * boards/risc-v/k230/canmv230/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/k230/canmv230/scripts/ld-protected.script b/boards/risc-v/k230/canmv230/scripts/ld-protected.script index 05d6a25fc5..eecba18401 100644 --- a/boards/risc-v/k230/canmv230/scripts/ld-protected.script +++ b/boards/risc-v/k230/canmv230/scripts/ld-protected.script @@ -1,6 +1,8 @@ /**************************************************************************** * boards/risc-v/k230/canmv230/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/k230/canmv230/scripts/ld-userland.script b/boards/risc-v/k230/canmv230/scripts/ld-userland.script index e75ddb1a18..d0e8683cac 100644 --- a/boards/risc-v/k230/canmv230/scripts/ld-userland.script +++ b/boards/risc-v/k230/canmv230/scripts/ld-userland.script @@ -1,6 +1,8 @@ /**************************************************************************** * boards/risc-v/k230/canmv230/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/k230/canmv230/src/CMakeLists.txt b/boards/risc-v/k230/canmv230/src/CMakeLists.txt index 9628318bca..e4b1655f64 100644 --- a/boards/risc-v/k230/canmv230/src/CMakeLists.txt +++ b/boards/risc-v/k230/canmv230/src/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # boards/risc-v/k230/canmv230/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/k230/canmv230/src/Makefile b/boards/risc-v/k230/canmv230/src/Makefile index 352df6a592..4673ef50ff 100644 --- a/boards/risc-v/k230/canmv230/src/Makefile +++ b/boards/risc-v/k230/canmv230/src/Makefile @@ -1,6 +1,8 @@ ############################################################################ # boards/risc-v/k230/canmv230/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/k230/canmv230/src/canmv_init.c b/boards/risc-v/k230/canmv230/src/canmv_init.c index c3ebc88e01..42be93c734 100644 --- a/boards/risc-v/k230/canmv230/src/canmv_init.c +++ b/boards/risc-v/k230/canmv230/src/canmv_init.c @@ -1,6 +1,8 @@ /**************************************************************************** * boards/risc-v/k230/canmv230/src/canmv_init.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/k230/canmv230/src/etc/init.d/rc.sysinit b/boards/risc-v/k230/canmv230/src/etc/init.d/rc.sysinit index 2568ac0129..4d4fea6b77 100644 --- a/boards/risc-v/k230/canmv230/src/etc/init.d/rc.sysinit +++ b/boards/risc-v/k230/canmv230/src/etc/init.d/rc.sysinit @@ -1,6 +1,8 @@ /**************************************************************************** * boards/risc-v/k230/canmv230/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/k230/canmv230/src/etc/init.d/rcS b/boards/risc-v/k230/canmv230/src/etc/init.d/rcS index 328cde500b..58eb5a8873 100644 --- a/boards/risc-v/k230/canmv230/src/etc/init.d/rcS +++ b/boards/risc-v/k230/canmv230/src/etc/init.d/rcS @@ -1,6 +1,8 @@ /**************************************************************************** * boards/risc-v/k230/canmv230/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/k230/canmv230/src/romfs.h b/boards/risc-v/k230/canmv230/src/romfs.h index 4578780ffd..8f4b26e330 100644 --- a/boards/risc-v/k230/canmv230/src/romfs.h +++ b/boards/risc-v/k230/canmv230/src/romfs.h @@ -1,6 +1,8 @@ /**************************************************************************** * boards/risc-v/k230/canmv230/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/k230/canmv230/src/romfs_stub.c b/boards/risc-v/k230/canmv230/src/romfs_stub.c index ea39e5e6a3..9cc2acc707 100644 --- a/boards/risc-v/k230/canmv230/src/romfs_stub.c +++ b/boards/risc-v/k230/canmv230/src/romfs_stub.c @@ -1,6 +1,8 @@ /**************************************************************************** * boards/risc-v/k230/canmv230/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