util/lint: Update lint-000-license-headers linter

- Add some directories and files to the ignore list
- Add the LGPL as a recognized header.  It's used in some files that
were pulled into coreboot from other sources.

Change-Id: I53423205f1cbf142a294ee5d24e885741a44dfcd
Signed-off-by: Martin Roth <martinroth@google.com>
Reviewed-on: https://review.coreboot.org/26572
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
diff --git a/util/lint/lint-000-license-headers b/util/lint/lint-000-license-headers
index 43be380..cc23f1a 100755
--- a/util/lint/lint-000-license-headers
+++ b/util/lint/lint-000-license-headers
@@ -19,7 +19,10 @@
 
 # regex list of files and directories to exclude from the search
 HEADER_EXCLUDED="\
+^src/lib/gnat/|\
 ^src/vendorcode/|\
+^util/amdtools/example_input/|\
+^util/cbfstool/lzma/|\
 ^util/kconfig/|\
 ^util/romcc/tests|\
 ^util/romcc/results|\
@@ -30,6 +33,15 @@
 Changelog|\
 TODO|\
 EXAMPLE|\
+NEWS|\
+ChangeLog|\
+Dockerfile|\
+\.in$|\
+\.[18]$|\
+\.md$|\
+\.wiki$|\
+\.xxdump$|\
+\.spec$|\
 \.txt$|\
 \.jpg$|\
 \.cksum$|\
@@ -93,6 +105,7 @@
 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'
+check_for_license 'GNU Lesser General Public'
 
 for file in $headerlist; do
 	# Verify the file exists, and has content that requires a header