[PATCH v12 23/28] scripts/gdb: Ignore byte-compiled python files

From: Jan Kiszka
Date: Fri Jan 30 2015 - 02:28:09 EST


From: Daniel Thompson <daniel.thompson@xxxxxxxxxx>

Using the gdb scripts leaves byte-compiled python files in the scripts/
directory. These should be ignored by git.

Signed-off-by: Daniel Thompson <daniel.thompson@xxxxxxxxxx>
Cc: Michal Marek <mmarek@xxxxxxx>
Cc: linux-kbuild@xxxxxxxxxxxxxxx
[Jan: drop redundant mrproper rule as suggested by Michal]
Signed-off-by: Jan Kiszka <jan.kiszka@xxxxxxxxxxx>
---
.gitignore | 1 +
scripts/gdb/linux/.gitignore | 2 ++
2 files changed, 3 insertions(+)
create mode 100644 scripts/gdb/linux/.gitignore

diff --git a/.gitignore b/.gitignore
index ce57b79..ecb89e3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -43,6 +43,7 @@ Module.symvers
/TAGS
/linux
/vmlinux
+/vmlinux-gdb.py
/vmlinuz
/System.map
/Module.markers
diff --git a/scripts/gdb/linux/.gitignore b/scripts/gdb/linux/.gitignore
new file mode 100644
index 0000000..52e4e61
--- /dev/null
+++ b/scripts/gdb/linux/.gitignore
@@ -0,0 +1,2 @@
+*.pyc
+*.pyo
--
2.1.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/