diff options
author | Martin Roth <gaumless@gmail.com> | 2024-02-16 10:19:07 -0700 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2024-06-19 17:42:43 +0000 |
commit | 1eccf77a78c49e1026ccbaca03cdb1f04f424368 (patch) | |
tree | b4f34b73e43126a7370f785c21e789d8d8fa93a7 /util/chromeos | |
parent | 3fc7a8f507046e9d52d0329b3f367374737d379a (diff) |
util: Break up spdx identifier text in scripts & makefiles
The SPDX parsers can find the SPDX identifiers in the scripts and
makefiles if they aren't broken up. This unnecessarily confuses things
when we're doing license parsing.
Change-Id: I215ed047397f342c912f1a969315fa184a124f6a
Signed-off-by: Martin Roth <gaumless@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/80585
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Matt DeVillier <matt.devillier@amd.corp-partner.google.com>
Reviewed-by: Varshit Pandya <pandyavarshit@gmail.com>
Diffstat (limited to 'util/chromeos')
-rwxr-xr-x | util/chromeos/update_ec_headers.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/util/chromeos/update_ec_headers.sh b/util/chromeos/update_ec_headers.sh index c3ee13e5f7..23b6418983 100755 --- a/util/chromeos/update_ec_headers.sh +++ b/util/chromeos/update_ec_headers.sh @@ -12,6 +12,7 @@ set -u scratch_file='' coreboot_top='' pname='' +SPDX_ID_STRING="SPDX-License-Identifier" cleanup() { @@ -41,7 +42,7 @@ usage() update_copyright() { - local spdx='/* SPDX-License-Identifier: BSD-3-Clause */' + local spdx="/* ${SPDX_ID_STRING}: BSD-3-Clause */" local f=$1 # replace existing copyright with empty lines |