Martin Roth has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/36175 )
Change subject: util/lint: Update license header text for SPDX headers. ......................................................................
Patch Set 4:
(3 comments)
https://review.coreboot.org/c/coreboot/+/36175/3//COMMIT_MSG Commit Message:
https://review.coreboot.org/c/coreboot/+/36175/3//COMMIT_MSG@16 PS3, Line 16: GPL-2.0-only - Throughout coreboot source : GPL-2.0-or-later - Throughout coreboot source : GPL-3.0-only - util/amdtools : GPL-3.0-or-later - src/lib/[gcov/libgcov/gnat]
I think so, under the runtime library exception (cited in the comment of libgcov.c). […]
Right. I'll work to make that clear in the checker later.
https://review.coreboot.org/c/coreboot/+/36175/3/util/lint/lint-000-license-... File util/lint/lint-000-license-headers:
https://review.coreboot.org/c/coreboot/+/36175/3/util/lint/lint-000-license-... PS3, Line 76: identifer
identifier
Done
https://review.coreboot.org/c/coreboot/+/36175/3/util/lint/lint-000-license-... PS3, Line 106: check_for_license 'SPDX-License-Identifier: Apache-2.0' : check_for_license 'SPDX-License-Identifier: BSD-3-Clause' : check_for_license 'SPDX-License-Identifier: GPL-2.0-only' : check_for_license 'SPDX-License-Identifier: GPL-2.0-or-later' : check_for_license 'SPDX-License-Identifier: GPL-3.0-only' : check_for_license 'SPDX-License-Identifier: GPL-3.0-or-later' : check_for_license 'SPDX-License-Identifier: ISC' : check_for_license 'SPDX-License-Identifier: MIT' : check_for_license 'SPDX-License-Identifier: X11'
Also, ISC, MIT and X11 are also permissible in coreboot for imported code (they're GPL-compatible), […]
After this goes in, I'll work on refactoring it to make sure that the licenses that aren't compatible with GPL-V2 are contained in certain folders.