From deea25be1bc709136c7871d8b23d6544da6a7f3f Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Sun, 10 May 2020 16:34:10 +0200 Subject: util/lint: Omit more vendorcode from license header test This is all code coming from the outside, so let's keep these files untouched as much as possible. A couple of files is added to the list by name because their license, while free, can't be properly modelled in SPDX: - lzmadecode is (LGPL OR CPL) WITH special-exception - stack.c and start16 are some weird (but free) US Gov't license grant - two XGI related files have "BSD except for Linux, where it's GPL" Change-Id: I42dec503b9c427a66792d3fec99ca8df1a360e47 Signed-off-by: Patrick Georgi Reviewed-on: https://review.coreboot.org/c/coreboot/+/41193 Tested-by: build bot (Jenkins) Reviewed-by: HAOUAS Elyes --- util/lint/lint-000-license-headers | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'util/lint/lint-000-license-headers') diff --git a/util/lint/lint-000-license-headers b/util/lint/lint-000-license-headers index 05476e87cd..3757f37fe6 100755 --- a/util/lint/lint-000-license-headers +++ b/util/lint/lint-000-license-headers @@ -8,10 +8,20 @@ # regex list of files and directories to exclude from the search HEADER_EXCLUDED="\ +^src/commonlib/bsd/lz4.c.inc\$|\ +^src/cpu/x86/16bit/entry16.inc\$|\ +^src/device/oprom/x86emu/|\ +^src/device/oprom/include/x86emu/|\ +^src/device/oprom/yabel/|\ +^src/drivers/xgi/common/initdef.h\$|\ +^src/drivers/xgi/common/vstruct.h\$|\ ^src/lib/gnat/|\ +^src/lib/lzmadecode.[ch]\$|\ +^src/lib/stack.c\$|\ ^src/vendorcode/|\ ^util/amdtools/example_input/|\ ^util/cbfstool/lzma/|\ +^util/cbfstool/lz4/|\ ^util/kconfig/|\ Kconfig|\ \|\ -- cgit v1.2.3