Skip to content

Commit b8ddc5b

Browse files
committed
feat: Adding SPDX identifiers to source/build files
Adding SPDX identifiers to all source and make/meson build files to make SBOM generation easier in the future. Signed-off-by: Tyler Erickson <[email protected]>
1 parent 13e8fd6 commit b8ddc5b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+70
-2
lines changed

.gitattributes

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# SPDX-License-Identifier: MPL-2.0
12
#this file specifies some rules on specific files for line endings and more.
23
#it also has a section on which files should NOT be part of an export (git archive) command.
34

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# SPDX-License-Identifier: MPL-2.0
12
## Ignore Visual Studio temporary files, build results, and
23
## files generated by popular Visual Studio add-ons.
34
##

Make/UEFI/copy_files.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
2+
# SPDX-License-Identifier: MPL-2.0
33
function usage {
44
echo "This script will copy all files required to build opensea-operations to the edk2/UDK path specified."
55
echo "How to use: copy_files.sh <path to edk2 directory>"

Make/UEFI/opensea-operations.dec

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
## @file
22
# Declarations for the opensea-operations library
33
##
4-
4+
# SPDX-License-Identifier: MPL-2.0
55

66
[Defines]
77
DEC_SPECIFICATION = 0x00010005

Make/UEFI/opensea-operations.dsc

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
# environment.
99
#
1010
##
11+
# SPDX-License-Identifier: MPL-2.0
1112

1213
[Defines]
1314
PLATFORM_NAME = opensea-operationslib

Make/UEFI/opensea-operations.inf

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
#
44
#
55
##
6+
# SPDX-License-Identifier: MPL-2.0
67

78
[Defines]
89
INF_VERSION = 0x00010005

Make/gcc/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# SPDX-License-Identifier: MPL-2.0
12
#
23
# Do NOT modify or remove this copyright and license
34
#

Make/gccWin/Makefile.gccWin

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# SPDX-License-Identifier: MPL-2.0
12
#
23
# Do NOT modify or remove this copyright and license
34
#

Make/vmware/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# SPDX-License-Identifier: MPL-2.0
12
#
23
# Do NOT modify or remove this copyright and license
34
#

include/ata_Security.h

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: MPL-2.0
12
//
23
// Do NOT modify or remove this copyright and license
34
//

include/ata_device_config_overlay.h

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: MPL-2.0
12
//
23
// Do NOT modify or remove this copyright and license
34
//

include/buffer_test.h

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: MPL-2.0
12
//
23
// Do NOT modify or remove this copyright and license
34
//

include/defect.h

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: MPL-2.0
12
//
23
// Do NOT modify or remove this copyright and license
34
//

include/depopulate.h

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: MPL-2.0
12
//
23
// Do NOT modify or remove this copyright and license
34
//

include/device_statistics.h

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: MPL-2.0
12
//
23
// Do NOT modify or remove this copyright and license
34
//

include/drive_info.h

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: MPL-2.0
12
//
23
// Do NOT modify or remove this copyright and license
34
//

include/dst.h

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: MPL-2.0
12
//
23
// Do NOT modify or remove this copyright and license
34
//

include/farm_log.h

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: MPL-2.0
12
//
23
// Do NOT modify or remove this copyright and license
34
//

include/firmware_download.h

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: MPL-2.0
12
//
23
// Do NOT modify or remove this copyright and license
34
//

include/format.h

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: MPL-2.0
12
//
23
// Do NOT modify or remove this copyright and license
34
//

include/generic_tests.h

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: MPL-2.0
12
//
23
// Do NOT modify or remove this copyright and license
34
//

include/host_erase.h

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: MPL-2.0
12
//
23
// Do NOT modify or remove this copyright and license
34
//

include/logs.h

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: MPL-2.0
12
//
23
// Do NOT modify or remove this copyright and license
34
//

include/nvme_operations.h

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: MPL-2.0
12
//
23
// Do NOT modify or remove this copyright and license
34
//

include/opensea_operation_version.h

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: MPL-2.0
12
//
23
// Do NOT modify or remove this copyright and license
34
//

include/operations.h

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: MPL-2.0
12
//
23
// Do NOT modify or remove this copyright and license
34
//

include/operations_Common.h

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: MPL-2.0
12
//
23
// Do NOT modify or remove this copyright and license
34
//

include/partition_info.h

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: MPL-2.0
12
//
23
// Do NOT modify or remove this copyright and license
34
//

include/power_control.h

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: MPL-2.0
12
//
23
// Do NOT modify or remove this copyright and license
34
//

include/reservations.h

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: MPL-2.0
12
//
23
// Do NOT modify or remove this copyright and license
34
//

include/sanitize.h

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: MPL-2.0
12
//
23
// Do NOT modify or remove this copyright and license
34
//

include/sas_phy.h

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: MPL-2.0
12
//
23
// Do NOT modify or remove this copyright and license
34
//

include/sata_phy.h

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: MPL-2.0
12
//
23
// Do NOT modify or remove this copyright and license
34
//

include/seagate_operations.h

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: MPL-2.0
12
//
23
// Do NOT modify or remove this copyright and license
34
//

include/sector_repair.h

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: MPL-2.0
12
//
23
// Do NOT modify or remove this copyright and license
34
//

include/set_max_lba.h

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: MPL-2.0
12
//
23
// Do NOT modify or remove this copyright and license
34
//

include/smart.h

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: MPL-2.0
12
//
23
// Do NOT modify or remove this copyright and license
34
//

include/trim_unmap.h

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: MPL-2.0
12
//
23
// Do NOT modify or remove this copyright and license
34
//

include/writesame.h

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: MPL-2.0
12
//
23
// Do NOT modify or remove this copyright and license
34
//

include/zoned_operations.h

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: MPL-2.0
12
//
23
// Do NOT modify or remove this copyright and license
34
//

meson.build

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# SPDX-License-Identifier: MPL-2.0
12
project('opensea-operations', 'c', license: 'MPL-2.0', version: '3.0.5', default_options : ['warning_level=2'])
23

34
c = meson.get_compiler('c')

src/ata_Security.c

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: MPL-2.0
12
//
23
// Do NOT modify or remove this copyright and license
34
//

src/ata_device_config_overlay.c

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: MPL-2.0
12
//
23
// Do NOT modify or remove this copyright and license
34
//

src/buffer_test.c

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: MPL-2.0
12
//
23
// Do NOT modify or remove this copyright and license
34
//

src/defect.c

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: MPL-2.0
12
//
23
// Do NOT modify or remove this copyright and license
34
//

src/depopulate.c

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: MPL-2.0
12
//
23
// Do NOT modify or remove this copyright and license
34
//

src/device_statistics.c

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: MPL-2.0
12
//
23
// Do NOT modify or remove this copyright and license
34
//

src/drive_info.c

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: MPL-2.0
12
//
23
// Do NOT modify or remove this copyright and license
34
//

src/dst.c

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: MPL-2.0
12
//
23
// Do NOT modify or remove this copyright and license
34
//

src/farm_log.c

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: MPL-2.0
12
//
23
// Do NOT modify or remove this copyright and license
34
//

src/firmware_download.c

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: MPL-2.0
12
//
23
// Do NOT modify or remove this copyright and license
34
//

src/format.c

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: MPL-2.0
12
//
23
// Do NOT modify or remove this copyright and license
34
//

src/generic_tests.c

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: MPL-2.0
12
//
23
// Do NOT modify or remove this copyright and license
34
//

src/host_erase.c

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: MPL-2.0
12
//
23
// Do NOT modify or remove this copyright and license
34
//

src/logs.c

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: MPL-2.0
12
//
23
// Do NOT modify or remove this copyright and license
34
//

src/nvme_operations.c

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: MPL-2.0
12
//
23
// Do NOT modify or remove this copyright and license
34
//

src/operations.c

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: MPL-2.0
12
//
23
// Do NOT modify or remove this copyright and license
34
//

src/partition_info.c

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: MPL-2.0
12
//
23
// Do NOT modify or remove this copyright and license
34
//

src/power_control.c

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: MPL-2.0
12
//
23
// Do NOT modify or remove this copyright and license
34
//

src/reservations.c

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: MPL-2.0
12
//
23
// Do NOT modify or remove this copyright and license
34
//

src/sanitize.c

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: MPL-2.0
12
//
23
// Do NOT modify or remove this copyright and license
34
//

src/sas_phy.c

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: MPL-2.0
12
//
23
// Do NOT modify or remove this copyright and license
34
//

src/sata_phy.c

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: MPL-2.0
12
//
23
// Do NOT modify or remove this copyright and license
34
//

src/seagate_operations.c

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: MPL-2.0
12
//
23
// Do NOT modify or remove this copyright and license
34
//

src/sector_repair.c

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: MPL-2.0
12
//
23
// Do NOT modify or remove this copyright and license
34
//

src/set_max_lba.c

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: MPL-2.0
12
//
23
// Do NOT modify or remove this copyright and license
34
//

src/smart.c

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: MPL-2.0
12
//
23
// Do NOT modify or remove this copyright and license
34
//

src/trim_unmap.c

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: MPL-2.0
12
//
23
// Do NOT modify or remove this copyright and license
34
//

src/writesame.c

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: MPL-2.0
12
//
23
// Do NOT modify or remove this copyright and license
34
//

src/zoned_operations.c

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: MPL-2.0
12
//
23
// Do NOT modify or remove this copyright and license
34
//

0 commit comments

Comments
 (0)