summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.checkpatch.conf7
-rwxr-xr-xutil/lint/lint-007-checkpatch1
2 files changed, 5 insertions, 3 deletions
diff --git a/.checkpatch.conf b/.checkpatch.conf
index 1bf0a321fb..95019d116e 100644
--- a/.checkpatch.conf
+++ b/.checkpatch.conf
@@ -32,5 +32,8 @@
# some commits unnecessarily.
--ignore EXECUTE_PERMISSIONS
-# Exclude the vendorcode directory
---exclude src/vendorcode
+# Exclude vendorcode directories that don't follow coreboot's coding style.
+--exclude src/vendorcode/amd
+--exclude src/vendorcode/cavium
+--exclude src/vendorcode/intel
+--exclude src/vendorcode/mediatek
diff --git a/util/lint/lint-007-checkpatch b/util/lint/lint-007-checkpatch
index 113d0ae9d1..7a76878f60 100755
--- a/util/lint/lint-007-checkpatch
+++ b/util/lint/lint-007-checkpatch
@@ -15,7 +15,6 @@ EXCLUDED_DIRS="^payloads/libpayload/util/kconfig\|\
^util/inteltool\|\
^util/kconfig\|\
^util/superiotool\|\
-^src/vendorcode\|\
^Documentation"
opts="--max-line-length 96"