summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Roth <martinroth@google.com>2017-04-04 14:35:42 -0600
committerMartin Roth <martinroth@google.com>2017-08-10 15:53:17 +0000
commited0ee0a83d1c93134acd6e6494345ad1927254a5 (patch)
tree7f890d6cb070d98f7c5c32c27b37377a846cc96a
parent7eab2889d13676f774bad3b641d609f653111c61 (diff)
util/lint: Update license header lint scripts
- Check for original LinuxBIOS header from LANL - Check for the BSD style license used in x86emu - Add top level checks for src/cpu and src/vboot - Add drivers dir check for aspeed, emulation, and sil - Add mainboard dir check for digitallogic Change-Id: Ie1ef6a39fd1d184815d22235d43780caedb2ca95 Signed-off-by: Martin Roth <martinroth@google.com> Reviewed-on: https://review.coreboot.org/19122 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Chris Ching <chingcodes@google.com> Reviewed-by: Werner Zeh <werner.zeh@siemens.com> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
-rwxr-xr-xutil/lint/lint-000-license-headers2
-rwxr-xr-xutil/lint/lint-stable-000-license-headers12
2 files changed, 9 insertions, 5 deletions
diff --git a/util/lint/lint-000-license-headers b/util/lint/lint-000-license-headers
index e705929ce5..d8d04be098 100755
--- a/util/lint/lint-000-license-headers
+++ b/util/lint/lint-000-license-headers
@@ -90,6 +90,8 @@ check_for_license 'IS PROVIDED .*"AS IS"'
check_for_license 'IS DISTRIBUTED .*"AS IS"'
check_for_license "IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE"
check_for_license '"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES'
+check_for_license 'assumes any liability or responsibility for the use'
+check_for_license 'THE AUTHORS DISCLAIM.*ALL WARRANTIES WITH REGARD TO THIS SOFTWARE'
check_for_license 'No license required'
for file in $headerlist; do
diff --git a/util/lint/lint-stable-000-license-headers b/util/lint/lint-stable-000-license-headers
index 2ff309a9d5..a5de8cda97 100755
--- a/util/lint/lint-stable-000-license-headers
+++ b/util/lint/lint-stable-000-license-headers
@@ -16,16 +16,17 @@
# DESCR: Check that files have license headers
# Top level
-util/lint/lint-000-license-headers "src/acpi src/arch src/commonlib src/console src/device src/ec src/superio"
+util/lint/lint-000-license-headers "src/acpi src/arch src/commonlib src/console \
+ src/cpu src/device src/ec src/superio src/vboot"
# CPU
util/lint/lint-000-license-headers "src/cpu/allwinner src/cpu/armltd src/cpu/dmp src/cpu/qemu-power8 \
src/cpu/qemu-x86 src/cpu/ti"
# src/drivers
-util/lint/lint-000-license-headers "src/drivers/ams src/drivers/dec src/drivers/elog src/drivers/gic \
- src/drivers/ics src/drivers/ipmi src/drivers/maxim src/drivers/parade src/drivers/ricoh \
- src/drivers/ti src/drivers/usb src/drivers/xgi"
+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/include
util/lint/lint-000-license-headers "src/device/superio"
@@ -34,7 +35,8 @@ util/lint/lint-000-license-headers "src/device/superio"
util/lint/lint-000-license-headers "src/mainboard/aaeon src/mainboard/abit src/mainboard/adlink src/mainboard/advansus \
src/mainboard/amd src/mainboard/aopen src/mainboard/apple src/mainboard/atrend src/mainboard/avalue \
src/mainboard/azza src/mainboard/bachmann src/mainboard/bap src/mainboard/bcom src/mainboard/bifferos"
-util/lint/lint-000-license-headers "src/mainboard/biostar src/mainboard/compaq src/mainboard/dmp src/mainboard/ecs \
+util/lint/lint-000-license-headers "src/mainboard/biostar src/mainboard/compaq src/mainboard/digitallogic \
+ src/mainboard/dmp src/mainboard/ecs \
src/mainboard/esd src/mainboard/gizmosphere src/mainboard/google src/mainboard/iei \
src/mainboard/intel src/mainboard/jetway src/mainboard/lanner src/mainboard/lintop \
src/mainboard/mitac src/mainboard/nec src/mainboard/nokia src/mainboard/nvidia"