summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorMartin Roth <martin@coreboot.org>2019-09-23 18:24:18 -0600
committerPatrick Georgi <pgeorgi@google.com>2020-01-13 10:03:07 +0000
commitdfd89fc85bc61600da6914c6db929296069ae9df (patch)
tree117c98f86d7692295dcb65ea478e7e43882ecf68 /util
parent50ee91c17c386b47e8d3c02bbdcc9e1324c9a72f (diff)
downloadcoreboot-dfd89fc85bc61600da6914c6db929296069ae9df.tar.xz
util/lint: Enforce SPDX licenses only in src/acpi directory
Signed-off-by: Martin Roth <martin@coreboot.org> Change-Id: I9241f96eed652c8ca72d4f4a94f860a875e55680 Reviewed-on: https://review.coreboot.org/c/coreboot/+/36177 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: David Hendricks <david.hendricks@gmail.com>
Diffstat (limited to 'util')
-rwxr-xr-xutil/lint/lint-stable-000-license-headers18
1 files changed, 5 insertions, 13 deletions
diff --git a/util/lint/lint-stable-000-license-headers b/util/lint/lint-stable-000-license-headers
index 441e679bda..fcaf32ced2 100755
--- a/util/lint/lint-stable-000-license-headers
+++ b/util/lint/lint-stable-000-license-headers
@@ -1,22 +1,14 @@
#!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-only
# This file is part of the coreboot project.
#
-# Copyright (C) 2016 Google Inc.
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; version 2 of the License.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-#
# DESCR: Check that files have license headers
+# Directories requiring SPDX Identifiers only
+util/lint/lint-000-license-headers "src/acpi" SPDX_ONLY
+
# Top level
-util/lint/lint-000-license-headers "src/acpi src/arch src/commonlib src/console \
+util/lint/lint-000-license-headers "src/arch src/commonlib src/console \
src/cpu src/device src/ec src/mainboard src/northbridge src/soc \
src/southbridge src/superio"