From ab4b82fb3c33ff89f16f68b4b0f5975ed75cc495 Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Sun, 19 Oct 2025 17:25:47 -0600 Subject: [PATCH] util/lint: Add a license check exception for .gitkeep files A .gitkeep file is an unofficial convention used in Git to keep and track empty directories, as Git does not track empty folders by default. This could be needed when one mainboard variant has an include directory but another doesn't. If the directory is added to the include, it could be easier to just create an empty include directory with a .gitkeep file in it to keep things from failing. Change-Id: I34b2ffa4d748d82e26867ecd5b9149301300e6a1 Signed-off-by: Martin Roth Reviewed-on: https://review.coreboot.org/c/coreboot/+/89640 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Nicholas Sudsgaard --- util/lint/lint-000-license-headers | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/util/lint/lint-000-license-headers b/util/lint/lint-000-license-headers index bff8bb48d0..3a28d104b1 100755 --- a/util/lint/lint-000-license-headers +++ b/util/lint/lint-000-license-headers @@ -69,7 +69,8 @@ _shipped$|\ config|\ cmos\.layout|\ cmos\.default|\ -\.apcb$\ +\.apcb$|\ +\.gitkeep$\ " #space separated list of directories to test