summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorMartin Roth <gaumless@gmail.com>2022-08-04 12:20:29 -0600
committerMartin Roth <martin.roth@amd.corp-partner.google.com>2022-08-10 19:07:20 +0000
commitf67a1aa76af637b8fb9583dcdffe0a2ef4e31940 (patch)
tree061becff43734f5dda4cd33da7cf55c6fb4bf72c /util
parentafa3e5aa49b0662a2ff307bae458365a485759c3 (diff)
util/lint & LICENSES: Add PDDC as a "license" for coreboot
The Creative Commons Public Domain Dedication and Certification is not a license in the common sense in that it's stating that the associated file is already in the public domain (having no copyright), and is not actually putting it in the public domain like the CC-C0 license does. The use for this in coreboot is for unlicensable files - either blank files or files with no creative content. This allows these files to have the SPDX identifier to identify them as having no known copyright for open source license compliance. If CC-PDM-1.0 is ever included in the list of SPDX licenses, that would probably fit better, but because the public domain mark isn't actually a license, and because "public domain" isn't well defined, CC-PDM was rejected as a SPDX identifier. For further information: https://web.archive.org/web/20201018194411/https://github.com/spdx/license-list-XML/issues/988 Change-Id: Ibb300ecd066cde2a016195c2beca76a460c588e3 Signed-off-by: Martin Roth <martin.roth@amd.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/66496 Reviewed-by: Elyes Haouas <ehaouas@noos.fr> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
Diffstat (limited to 'util')
-rwxr-xr-xutil/lint/lint-000-license-headers6
1 files changed, 6 insertions, 0 deletions
diff --git a/util/lint/lint-000-license-headers b/util/lint/lint-000-license-headers
index ac0b82f438..e6c62b9ad5 100755
--- a/util/lint/lint-000-license-headers
+++ b/util/lint/lint-000-license-headers
@@ -116,6 +116,12 @@ check_for_license 'SPDX-License-Identifier: X11'
# differentiate between this license with or without advertising.
check_for_license 'SPDX-License-Identifier: BSD-4-Clause-UC'
+# This is the Creative Commons Public Domain Dedication and Certification
+# for files that are already in the public domain. This includes files
+# that cannot be licensed such as blank files or files with no "creative"
+# content.
+check_for_license 'SPDX-License-Identifier: CC-PDDC'
+
for file in $headerlist; do
# Verify the file exists, and has content that requires a header
# This assumes that a file that has 4 lines or fewer is not notable