Skip to content

Commit dc4bf4a

Browse files
jerpeleaxiaoxiang781216
authored andcommitted
boot: 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 <[email protected]>
1 parent 69b6c93 commit dc4bf4a

19 files changed

+58
-0
lines changed

boot/CMakeLists.txt

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# ##############################################################################
22
# apps/boot/CMakeLists.txt
33
#
4+
# SPDX-License-Identifier: Apache-2.0
5+
#
46
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
57
# license agreements. See the NOTICE file distributed with this work for
68
# additional information regarding copyright ownership. The ASF licenses this

boot/Make.defs

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
############################################################################
22
# apps/boot/Make.defs
33
#
4+
# SPDX-License-Identifier: Apache-2.0
5+
#
46
# Licensed to the Apache Software Foundation (ASF) under one or more
57
# contributor license agreements. See the NOTICE file distributed with
68
# this work for additional information regarding copyright ownership. The

boot/Makefile

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
############################################################################
22
# apps/boot/Makefile
33
#
4+
# SPDX-License-Identifier: Apache-2.0
5+
#
46
# Licensed to the Apache Software Foundation (ASF) under one or more
57
# contributor license agreements. See the NOTICE file distributed with
68
# this work for additional information regarding copyright ownership. The

boot/mcuboot/CMakeLists.txt

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# ##############################################################################
22
# apps/boot/mcuboot/CMakeLists.txt
33
#
4+
# SPDX-License-Identifier: Apache-2.0
5+
#
46
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
57
# license agreements. See the NOTICE file distributed with this work for
68
# additional information regarding copyright ownership. The ASF licenses this

boot/mcuboot/Make.defs

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
############################################################################
22
# apps/boot/mcuboot/Make.defs
33
#
4+
# SPDX-License-Identifier: Apache-2.0
5+
#
46
# Licensed to the Apache Software Foundation (ASF) under one or more
57
# contributor license agreements. See the NOTICE file distributed with
68
# this work for additional information regarding copyright ownership. The

boot/mcuboot/Makefile

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
############################################################################
22
# apps/boot/mcuboot/Makefile
33
#
4+
# SPDX-License-Identifier: Apache-2.0
5+
#
46
# Licensed to the Apache Software Foundation (ASF) under one or more
57
# contributor license agreements. See the NOTICE file distributed with
68
# this work for additional information regarding copyright ownership. The

boot/miniboot/CMakeLists.txt

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# ##############################################################################
22
# apps/boot/miniboot/CMakeLists.txt
33
#
4+
# SPDX-License-Identifier: Apache-2.0
5+
#
46
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
57
# license agreements. See the NOTICE file distributed with this work for
68
# additional information regarding copyright ownership. The ASF licenses this

boot/miniboot/Make.defs

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
############################################################################
22
# apps/boot/miniboot/Make.defs
33
#
4+
# SPDX-License-Identifier: Apache-2.0
5+
#
46
# Licensed to the Apache Software Foundation (ASF) under one or more
57
# contributor license agreements. See the NOTICE file distributed with
68
# this work for additional information regarding copyright ownership. The

boot/miniboot/Makefile

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
############################################################################
22
# apps/boot/miniboot/Makefile
33
#
4+
# SPDX-License-Identifier: Apache-2.0
5+
#
46
# Licensed to the Apache Software Foundation (ASF) under one or more
57
# contributor license agreements. See the NOTICE file distributed with
68
# this work for additional information regarding copyright ownership. The

boot/miniboot/miniboot_main.c

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/****************************************************************************
22
* apps/boot/miniboot/miniboot_main.c
33
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*
46
* Licensed to the Apache Software Foundation (ASF) under one or more
57
* contributor license agreements. See the NOTICE file distributed with
68
* this work for additional information regarding copyright ownership. The

boot/nxboot/CMakeLists.txt

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# ##############################################################################
22
# apps/boot/nxboot/CMakeLists.txt
33
#
4+
# SPDX-License-Identifier: Apache-2.0
5+
#
46
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
57
# license agreements. See the NOTICE file distributed with this work for
68
# additional information regarding copyright ownership. The ASF licenses this

boot/nxboot/Make.defs

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
############################################################################
22
# apps/boot/nxboot/Make.defs
33
#
4+
# SPDX-License-Identifier: Apache-2.0
5+
#
46
# Licensed to the Apache Software Foundation (ASF) under one or more
57
# contributor license agreements. See the NOTICE file distributed with
68
# this work for additional information regarding copyright ownership. The

boot/nxboot/Makefile

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
############################################################################
22
# apps/boot/nxboot/Makefile
33
#
4+
# SPDX-License-Identifier: Apache-2.0
5+
#
46
# Licensed to the Apache Software Foundation (ASF) under one or more
57
# contributor license agreements. See the NOTICE file distributed with
68
# this work for additional information regarding copyright ownership. The

boot/nxboot/include/nxboot.h

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/****************************************************************************
22
* apps/boot/nxboot/include/nxboot.h
33
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*
46
* Licensed to the Apache Software Foundation (ASF) under one or more
57
* contributor license agreements. See the NOTICE file distributed with
68
* this work for additional information regarding copyright ownership. The

boot/nxboot/loader/boot.c

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/****************************************************************************
22
* apps/boot/nxboot/loader/boot.c
33
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*
46
* Licensed to the Apache Software Foundation (ASF) under one or more
57
* contributor license agreements. See the NOTICE file distributed with
68
* this work for additional information regarding copyright ownership. The

boot/nxboot/loader/flash.c

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/****************************************************************************
22
* apps/boot/nxboot/loader/flash.c
33
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*
46
* Licensed to the Apache Software Foundation (ASF) under one or more
57
* contributor license agreements. See the NOTICE file distributed with
68
* this work for additional information regarding copyright ownership. The

boot/nxboot/loader/flash.h

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/****************************************************************************
22
* apps/boot/nxboot/loader/flash.h
33
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*
46
* Licensed to the Apache Software Foundation (ASF) under one or more
57
* contributor license agreements. See the NOTICE file distributed with
68
* this work for additional information regarding copyright ownership. The

boot/nxboot/nxboot_main.c

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/****************************************************************************
22
* apps/boot/nxboot/nxboot_main.c
33
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*
46
* Licensed to the Apache Software Foundation (ASF) under one or more
57
* contributor license agreements. See the NOTICE file distributed with
68
* this work for additional information regarding copyright ownership. The

boot/nxboot/tools/nximage.py

+22
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,25 @@
1+
#!/usr/bin/env python3
2+
############################################################################
3+
# apps/boot/nxboot/tools/nximage.py
4+
#
5+
# SPDX-License-Identifier: Apache-2.0
6+
#
7+
# Licensed to the Apache Software Foundation (ASF) under one or more
8+
# contributor license agreements. See the NOTICE file distributed with
9+
# this work for additional information regarding copyright ownership. The
10+
# ASF licenses this file to you under the Apache License, Version 2.0 (the
11+
# "License"); you may not use this file except in compliance with the
12+
# License. You may obtain a copy of the License at
13+
#
14+
# http://www.apache.org/licenses/LICENSE-2.0
15+
#
16+
# Unless required by applicable law or agreed to in writing, software
17+
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
18+
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
19+
# License for the specific language governing permissions and limitations
20+
# under the License.
21+
#
22+
############################################################################
123
"""Python script that prepares the NuttX image to be used with NX bootloader"""
224

325
import argparse

0 commit comments

Comments
 (0)