mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-18 17:32:09 +08:00
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 <alin.jerpelea@sony.com>
This commit is contained in:

committed by
Xiang Xiao

parent
69b6c936d1
commit
dc4bf4a5fb
@@ -1,6 +1,8 @@
|
|||||||
# ##############################################################################
|
# ##############################################################################
|
||||||
# apps/boot/CMakeLists.txt
|
# apps/boot/CMakeLists.txt
|
||||||
#
|
#
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
#
|
||||||
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
|
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
|
||||||
# license agreements. See the NOTICE file distributed with this work for
|
# license agreements. See the NOTICE file distributed with this work for
|
||||||
# additional information regarding copyright ownership. The ASF licenses this
|
# additional information regarding copyright ownership. The ASF licenses this
|
||||||
|
@@ -1,6 +1,8 @@
|
|||||||
############################################################################
|
############################################################################
|
||||||
# apps/boot/Make.defs
|
# apps/boot/Make.defs
|
||||||
#
|
#
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
#
|
||||||
# Licensed to the Apache Software Foundation (ASF) under one or more
|
# Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
# contributor license agreements. See the NOTICE file distributed with
|
# contributor license agreements. See the NOTICE file distributed with
|
||||||
# this work for additional information regarding copyright ownership. The
|
# this work for additional information regarding copyright ownership. The
|
||||||
|
@@ -1,6 +1,8 @@
|
|||||||
############################################################################
|
############################################################################
|
||||||
# apps/boot/Makefile
|
# apps/boot/Makefile
|
||||||
#
|
#
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
#
|
||||||
# Licensed to the Apache Software Foundation (ASF) under one or more
|
# Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
# contributor license agreements. See the NOTICE file distributed with
|
# contributor license agreements. See the NOTICE file distributed with
|
||||||
# this work for additional information regarding copyright ownership. The
|
# this work for additional information regarding copyright ownership. The
|
||||||
|
@@ -1,6 +1,8 @@
|
|||||||
# ##############################################################################
|
# ##############################################################################
|
||||||
# apps/boot/mcuboot/CMakeLists.txt
|
# apps/boot/mcuboot/CMakeLists.txt
|
||||||
#
|
#
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
#
|
||||||
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
|
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
|
||||||
# license agreements. See the NOTICE file distributed with this work for
|
# license agreements. See the NOTICE file distributed with this work for
|
||||||
# additional information regarding copyright ownership. The ASF licenses this
|
# additional information regarding copyright ownership. The ASF licenses this
|
||||||
|
@@ -1,6 +1,8 @@
|
|||||||
############################################################################
|
############################################################################
|
||||||
# apps/boot/mcuboot/Make.defs
|
# apps/boot/mcuboot/Make.defs
|
||||||
#
|
#
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
#
|
||||||
# Licensed to the Apache Software Foundation (ASF) under one or more
|
# Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
# contributor license agreements. See the NOTICE file distributed with
|
# contributor license agreements. See the NOTICE file distributed with
|
||||||
# this work for additional information regarding copyright ownership. The
|
# this work for additional information regarding copyright ownership. The
|
||||||
|
@@ -1,6 +1,8 @@
|
|||||||
############################################################################
|
############################################################################
|
||||||
# apps/boot/mcuboot/Makefile
|
# apps/boot/mcuboot/Makefile
|
||||||
#
|
#
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
#
|
||||||
# Licensed to the Apache Software Foundation (ASF) under one or more
|
# Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
# contributor license agreements. See the NOTICE file distributed with
|
# contributor license agreements. See the NOTICE file distributed with
|
||||||
# this work for additional information regarding copyright ownership. The
|
# this work for additional information regarding copyright ownership. The
|
||||||
|
@@ -1,6 +1,8 @@
|
|||||||
# ##############################################################################
|
# ##############################################################################
|
||||||
# apps/boot/miniboot/CMakeLists.txt
|
# apps/boot/miniboot/CMakeLists.txt
|
||||||
#
|
#
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
#
|
||||||
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
|
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
|
||||||
# license agreements. See the NOTICE file distributed with this work for
|
# license agreements. See the NOTICE file distributed with this work for
|
||||||
# additional information regarding copyright ownership. The ASF licenses this
|
# additional information regarding copyright ownership. The ASF licenses this
|
||||||
|
@@ -1,6 +1,8 @@
|
|||||||
############################################################################
|
############################################################################
|
||||||
# apps/boot/miniboot/Make.defs
|
# apps/boot/miniboot/Make.defs
|
||||||
#
|
#
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
#
|
||||||
# Licensed to the Apache Software Foundation (ASF) under one or more
|
# Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
# contributor license agreements. See the NOTICE file distributed with
|
# contributor license agreements. See the NOTICE file distributed with
|
||||||
# this work for additional information regarding copyright ownership. The
|
# this work for additional information regarding copyright ownership. The
|
||||||
|
@@ -1,6 +1,8 @@
|
|||||||
############################################################################
|
############################################################################
|
||||||
# apps/boot/miniboot/Makefile
|
# apps/boot/miniboot/Makefile
|
||||||
#
|
#
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
#
|
||||||
# Licensed to the Apache Software Foundation (ASF) under one or more
|
# Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
# contributor license agreements. See the NOTICE file distributed with
|
# contributor license agreements. See the NOTICE file distributed with
|
||||||
# this work for additional information regarding copyright ownership. The
|
# this work for additional information regarding copyright ownership. The
|
||||||
|
@@ -1,6 +1,8 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* apps/boot/miniboot/miniboot_main.c
|
* apps/boot/miniboot/miniboot_main.c
|
||||||
*
|
*
|
||||||
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
|
*
|
||||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
* contributor license agreements. See the NOTICE file distributed with
|
* contributor license agreements. See the NOTICE file distributed with
|
||||||
* this work for additional information regarding copyright ownership. The
|
* this work for additional information regarding copyright ownership. The
|
||||||
|
@@ -1,6 +1,8 @@
|
|||||||
# ##############################################################################
|
# ##############################################################################
|
||||||
# apps/boot/nxboot/CMakeLists.txt
|
# apps/boot/nxboot/CMakeLists.txt
|
||||||
#
|
#
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
#
|
||||||
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
|
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
|
||||||
# license agreements. See the NOTICE file distributed with this work for
|
# license agreements. See the NOTICE file distributed with this work for
|
||||||
# additional information regarding copyright ownership. The ASF licenses this
|
# additional information regarding copyright ownership. The ASF licenses this
|
||||||
|
@@ -1,6 +1,8 @@
|
|||||||
############################################################################
|
############################################################################
|
||||||
# apps/boot/nxboot/Make.defs
|
# apps/boot/nxboot/Make.defs
|
||||||
#
|
#
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
#
|
||||||
# Licensed to the Apache Software Foundation (ASF) under one or more
|
# Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
# contributor license agreements. See the NOTICE file distributed with
|
# contributor license agreements. See the NOTICE file distributed with
|
||||||
# this work for additional information regarding copyright ownership. The
|
# this work for additional information regarding copyright ownership. The
|
||||||
|
@@ -1,6 +1,8 @@
|
|||||||
############################################################################
|
############################################################################
|
||||||
# apps/boot/nxboot/Makefile
|
# apps/boot/nxboot/Makefile
|
||||||
#
|
#
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
#
|
||||||
# Licensed to the Apache Software Foundation (ASF) under one or more
|
# Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
# contributor license agreements. See the NOTICE file distributed with
|
# contributor license agreements. See the NOTICE file distributed with
|
||||||
# this work for additional information regarding copyright ownership. The
|
# this work for additional information regarding copyright ownership. The
|
||||||
|
@@ -1,6 +1,8 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* apps/boot/nxboot/include/nxboot.h
|
* apps/boot/nxboot/include/nxboot.h
|
||||||
*
|
*
|
||||||
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
|
*
|
||||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
* contributor license agreements. See the NOTICE file distributed with
|
* contributor license agreements. See the NOTICE file distributed with
|
||||||
* this work for additional information regarding copyright ownership. The
|
* this work for additional information regarding copyright ownership. The
|
||||||
|
@@ -1,6 +1,8 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* apps/boot/nxboot/loader/boot.c
|
* apps/boot/nxboot/loader/boot.c
|
||||||
*
|
*
|
||||||
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
|
*
|
||||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
* contributor license agreements. See the NOTICE file distributed with
|
* contributor license agreements. See the NOTICE file distributed with
|
||||||
* this work for additional information regarding copyright ownership. The
|
* this work for additional information regarding copyright ownership. The
|
||||||
|
@@ -1,6 +1,8 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* apps/boot/nxboot/loader/flash.c
|
* apps/boot/nxboot/loader/flash.c
|
||||||
*
|
*
|
||||||
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
|
*
|
||||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
* contributor license agreements. See the NOTICE file distributed with
|
* contributor license agreements. See the NOTICE file distributed with
|
||||||
* this work for additional information regarding copyright ownership. The
|
* this work for additional information regarding copyright ownership. The
|
||||||
|
@@ -1,6 +1,8 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* apps/boot/nxboot/loader/flash.h
|
* apps/boot/nxboot/loader/flash.h
|
||||||
*
|
*
|
||||||
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
|
*
|
||||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
* contributor license agreements. See the NOTICE file distributed with
|
* contributor license agreements. See the NOTICE file distributed with
|
||||||
* this work for additional information regarding copyright ownership. The
|
* this work for additional information regarding copyright ownership. The
|
||||||
|
@@ -1,6 +1,8 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* apps/boot/nxboot/nxboot_main.c
|
* apps/boot/nxboot/nxboot_main.c
|
||||||
*
|
*
|
||||||
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
|
*
|
||||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
* contributor license agreements. See the NOTICE file distributed with
|
* contributor license agreements. See the NOTICE file distributed with
|
||||||
* this work for additional information regarding copyright ownership. The
|
* this work for additional information regarding copyright ownership. The
|
||||||
|
@@ -1,3 +1,25 @@
|
|||||||
|
#!/usr/bin/env python3
|
||||||
|
############################################################################
|
||||||
|
# apps/boot/nxboot/tools/nximage.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.
|
||||||
|
#
|
||||||
|
############################################################################
|
||||||
"""Python script that prepares the NuttX image to be used with NX bootloader"""
|
"""Python script that prepares the NuttX image to be used with NX bootloader"""
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
|
Reference in New Issue
Block a user