From 163b7641f8d039ecf84abb8ac1ed9eff655c14e4 Mon Sep 17 00:00:00 2001 From: Bartosz Golaszewski Date: Wed, 13 Nov 2019 14:42:41 +0100 Subject: [PATCH] scripts: dtc: ignore files generated generated by python 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 --- 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.25.1