[PATCH v2 2/6] Adjust gitignore for tools/generated/

Tobias Deiminger tdmg at linutronix.de
Tue Jun 20 00:41:03 CEST 2023


Tell git that auto-generated C sources are now exclusively expected
under tools/generated/.

Signed-off-by: Tobias Deiminger <tdmg at linutronix.de>
---
 tools/.gitignore     | 1 +
 tools/env/.gitignore | 1 -
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/.gitignore b/tools/.gitignore
index cda3ea628c..941d38de21 100644
--- a/tools/.gitignore
+++ b/tools/.gitignore
@@ -34,6 +34,7 @@
 /relocate-rela
 /spl_size_limit
 /sunxi-spl-image-builder
+/tools/generated/**/*.c
 /update_octeon_header
 /version.h
 /xway-swap-bytes
diff --git a/tools/env/.gitignore b/tools/env/.gitignore
index 8d28b2b70b..804abacc6e 100644
--- a/tools/env/.gitignore
+++ b/tools/env/.gitignore
@@ -1,3 +1,2 @@
-embedded.c
 fw_printenv
 fw_printenv_unstripped
-- 
2.30.2



More information about the U-Boot mailing list