util/lint: Check for SPDX identifiers by default
The majority of the codebase has been converted to use SPDX identifiers now, so let's enforce those by default. The only exceptions are src/include and src/lib, which are not being checked since many of the files there do not have license headers at all. Files with custom licenses that aren't covered by SPDX can be listed as exceptions at the top of lint-000-license-headers. Change-Id: Ie6642153793d5735c74c5950bc9e27ee7eecacbc Signed-off-by: Jacob Garber <jgarber1@ualberta.ca> Reviewed-on: https://review.coreboot.org/c/coreboot/+/41602 Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
committed by
Patrick Georgi
parent
b4ab1e78cd
commit
d2fea1ab21
@@ -3,20 +3,7 @@
|
||||
#
|
||||
# DESCR: Check that files have license headers
|
||||
|
||||
# Directories requiring SPDX Identifiers only
|
||||
util/lint/lint-000-license-headers "src/acpi" SPDX_ONLY
|
||||
util/lint/lint-000-license-headers "src/arch" SPDX_ONLY
|
||||
util/lint/lint-000-license-headers "src/superio" SPDX_ONLY
|
||||
|
||||
# Top level
|
||||
util/lint/lint-000-license-headers "src/commonlib src/console \
|
||||
src/cpu src/device src/ec src/mainboard src/northbridge src/soc \
|
||||
src/southbridge"
|
||||
|
||||
# src/drivers
|
||||
util/lint/lint-000-license-headers "src/drivers/ams src/drivers/aspeed src/drivers/dec src/drivers/elog \
|
||||
src/drivers/emulation src/drivers/gic src/drivers/ics src/drivers/ipmi src/drivers/maxim \
|
||||
src/drivers/parade src/drivers/ricoh src/drivers/sil src/drivers/ti src/drivers/usb src/drivers/xgi"
|
||||
|
||||
# src/security
|
||||
util/lint/lint-000-license-headers "src/security/vboot"
|
||||
util/lint/lint-000-license-headers "src/acpi src/arch src/commonlib src/console \
|
||||
src/cpu src/device src/drivers src/ec src/mainboard src/northbridge \
|
||||
src/security src/soc src/southbridge src/superio"
|
||||
|
Reference in New Issue
Block a user