1
0
Fork 0
mirror of https://review.coreboot.org/chrome-ec.git synced 2024-09-09 06:12:42 +02:00
chrome-ec/PRESUBMIT.cfg
Tom Hughes 058ee18532 PRESUBMIT: skip license check for third_party code
Intentionally including the directories separately since it's possible
third party code added in the future could use the standard license.

BRANCH=none
BUG=b:169276911
TEST=CQ passes

Signed-off-by: Tom Hughes <tomhughes@chromium.org>
Change-Id: I238aa216c01a6b7749290e7287d4b9d4745da52b
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2537011
Reviewed-by: Eric Yilun Lin <yllin@chromium.org>
2020-11-16 17:12:32 +00:00

28 lines
902 B
INI

[Hook Overrides]
branch_check: true
checkpatch_check: true
kerneldoc_check: true
signoff_check: true
# We are using Linux style indentation with tabs
# The indentation is checked by checkpatch not the python script
tab_check: false
[Hook Overrides Options]
checkpatch_check: --no-tree --ignore=MSLEEP,VOLATILE,SPDX_LICENSE_TAG
kerneldoc_check: --include_regex=\bec_commands\.h$
cros_license_check :
--exclude_regex=^third_party/bmi260/
--exclude_regex=^third_party/boringssl/
--exclude_regex=^third_party/incbin/
--exclude_regex=^third_party/libaeabi-cortexm0/
--exclude_regex=^third_party/linux/
--exclude_regex=^third_party/sha2/
--exclude_regex=^third_party/unacl-curve25519/
[Hook Scripts]
presubmit_check = util/presubmit_check.sh
config_option_check = util/config_option_check.py
host_command_check = util/host_command_check.sh
ec_commands_h = util/linux_ec_commands_h_check.sh