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>
This commit is contained in:
Martin Roth 2019-09-23 18:24:18 -06:00 committed by Patrick Georgi
parent 50ee91c17c
commit dfd89fc85b
1 changed files with 5 additions and 13 deletions

View File

@ -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"