[U-Boot] [PATCH] scripts: dtc: ignore files generated generated by python

Bartosz Golaszewski brgl at bgdev.pl
Wed Nov 13 13:42:41 UTC 2019


From: Bartosz Golaszewski <bgolaszewski at baylibre.com>

Add __pycache__ to ignored files and extend the rule for _libfdt to also
include generated shared objects (e.g. _libfdt.cpython-37m-x86_64-linux-gnu.so).

Signed-off-by: Bartosz Golaszewski <bgolaszewski at baylibre.com>
---
 scripts/dtc/pylibfdt/.gitignore | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/scripts/dtc/pylibfdt/.gitignore b/scripts/dtc/pylibfdt/.gitignore
index 033f23dfdd..3a512001c9 100644
--- a/scripts/dtc/pylibfdt/.gitignore
+++ b/scripts/dtc/pylibfdt/.gitignore
@@ -1,4 +1,5 @@
-/_libfdt.so
+/_libfdt.*
 /libfdt.py
 /libfdt.pyc
 /libfdt_wrap.c
+/__pycache__
-- 
2.23.0



More information about the U-Boot mailing list