Martin Roth | c4511e2 | 2016-01-12 10:25:49 -0700 | [diff] [blame] | 1 | #!/bin/sh |
Martin Roth | dfd89fc | 2019-09-23 18:24:18 -0600 | [diff] [blame] | 2 | # SPDX-License-Identifier: GPL-2.0-only |
Martin Roth | c4511e2 | 2016-01-12 10:25:49 -0700 | [diff] [blame] | 3 | # |
Martin Roth | c4511e2 | 2016-01-12 10:25:49 -0700 | [diff] [blame] | 4 | # DESCR: Check that files have license headers |
| 5 | |
Martin Roth | dfd89fc | 2019-09-23 18:24:18 -0600 | [diff] [blame] | 6 | # Directories requiring SPDX Identifiers only |
| 7 | util/lint/lint-000-license-headers "src/acpi" SPDX_ONLY |
Patrick Georgi | 11f0079 | 2020-03-04 15:10:45 +0100 | [diff] [blame] | 8 | util/lint/lint-000-license-headers "src/arch" SPDX_ONLY |
Felix Held | b729d8b | 2020-01-23 18:59:20 +0100 | [diff] [blame] | 9 | util/lint/lint-000-license-headers "src/superio" SPDX_ONLY |
Martin Roth | dfd89fc | 2019-09-23 18:24:18 -0600 | [diff] [blame] | 10 | |
Martin Roth | cd9aec6 | 2016-04-11 20:58:02 -0600 | [diff] [blame] | 11 | # Top level |
Patrick Georgi | 11f0079 | 2020-03-04 15:10:45 +0100 | [diff] [blame] | 12 | util/lint/lint-000-license-headers "src/commonlib src/console \ |
Martin Roth | 18c4e26 | 2018-05-26 19:48:07 -0600 | [diff] [blame] | 13 | src/cpu src/device src/ec src/mainboard src/northbridge src/soc \ |
Felix Held | b729d8b | 2020-01-23 18:59:20 +0100 | [diff] [blame] | 14 | src/southbridge" |
Martin Roth | cd9aec6 | 2016-04-11 20:58:02 -0600 | [diff] [blame] | 15 | |
| 16 | # src/drivers |
Martin Roth | ed0ee0a | 2017-04-04 14:35:42 -0600 | [diff] [blame] | 17 | util/lint/lint-000-license-headers "src/drivers/ams src/drivers/aspeed src/drivers/dec src/drivers/elog \ |
| 18 | src/drivers/emulation src/drivers/gic src/drivers/ics src/drivers/ipmi src/drivers/maxim \ |
| 19 | src/drivers/parade src/drivers/ricoh src/drivers/sil src/drivers/ti src/drivers/usb src/drivers/xgi" |
Martin Roth | cd9aec6 | 2016-04-11 20:58:02 -0600 | [diff] [blame] | 20 | |
Martin Roth | 18c4e26 | 2018-05-26 19:48:07 -0600 | [diff] [blame] | 21 | # src/security |
| 22 | util/lint/lint-000-license-headers "src/security/vboot" |