summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Bettis <jbettis@google.com>2022-02-25 15:52:17 -0700
committerCommit Bot <commit-bot@chromium.org>2022-02-26 02:54:14 +0000
commitd61aceb028b07dcf432c0c3e717c1663a74def50 (patch)
tree53f50e0f477cd042a656b36bcfbc7c97c4df8a29
parent8bb4a0bc78d02c88f90236c4f5ebb9ee2485af62 (diff)
downloadchrome-ec-stabilize-14536.B-main.tar.gz
presubmit: Don't complain about edits to fpsensorstabilize-14536.B-main
Exclude the common/fpsensor dir from the "don't edit legacy EC files" warning. BRANCH=None BUG=b:221487964 TEST=None Signed-off-by: Jeremy Bettis <jbettis@google.com> Change-Id: If69b658e63f1eb3426664a9b4db7d923a6b19071 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3491411 Tested-by: Jeremy Bettis <jbettis@chromium.org> Auto-Submit: Jeremy Bettis <jbettis@chromium.org> Reviewed-by: Andrea Grandi <agrandi@google.com> Tested-by: Andrea Grandi <agrandi@google.com> Reviewed-by: Yuval Peress <peress@google.com> Commit-Queue: Yuval Peress <peress@google.com>
-rwxr-xr-xutil/migrated_files.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/migrated_files.sh b/util/migrated_files.sh
index 7652889074..8ed549b6c5 100755
--- a/util/migrated_files.sh
+++ b/util/migrated_files.sh
@@ -12,7 +12,7 @@ exit_code=0
for file in "$@"; do
ec_file="${file##**/platform/ec/}"
case "${ec_file}" in
- baseboard/*|board/*|chip/*|test/*|util/*|zephyr/*) ;;
+ baseboard/*|board/*|chip/*|common/fpsensor/*|test/*|util/*|zephyr/*) ;;
**.c)
if ! grep -q -F "\${PLATFORM_EC}/${ec_file}" "${cmakes[@]}" ; then
echo -n "WARNING: ${ec_file} is not used in Zephyr EC. Do not edit this"