chore(nordic): adding "build*" directories to be ignored (the dirs can be named e.g. "build", "build_debug", etc.).
What changed, and why it matters
This commit is a routine housekeeping change. It updates two project maintenance files so that build directories with names like 'build_debug' are ignored by Git and excluded from code-style checks. There is no change to the actual firmware code, no bug fix, and no security relevance.
No security action needed. Treat as normal repository maintenance.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The patch modifies nordic/.gitignore to change ‘trezor//build/’ to ‘trezor//build/’ and adds a regex line to tools/style.c.exclude to skip paths matching ‘./nordic/trezor/.build’. These are developer-tooling/CI hygiene changes only; no source code is altered.
Changed components
nordic/.gitignoretools/style.c.excludeInspect captured patch +2 / −1
diff --git a/nordic/.gitignore b/nordic/.gitignore
index c91a726bd..4322adc82 100644
--- a/nordic/.gitignore
+++ b/nordic/.gitignore
@@ -4,6 +4,6 @@ nrf/
nrfxlib/
test/
tools/
-trezor/**/build/
+trezor/**/build*/
zephyr/
.west/
diff --git a/tools/style.c.exclude b/tools/style.c.exclude
index f0c496421..bd96c2696 100644
--- a/tools/style.c.exclude
+++ b/tools/style.c.exclude
@@ -13,3 +13,4 @@
^\./core/embed/io/nfc/rfal
^\./nordic/trezor/radio_test
^\./nordic/trezor/direct_test_mode
+^\./nordic/trezor/.*build
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.