diff mbox

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

Message ID 3cf54d52b07feaac667de437267bb657c7d2974a.1422602696.git.jan.kiszka@siemens.com
State Accepted
Commit 2478a8a15ccaddd68e84bb8791cd468f636673e9
Headers show

Commit Message

Jan Kiszka Jan. 30, 2015, 7:24 a.m. UTC
From: Daniel Thompson <daniel.thompson@linaro.org>

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@linaro.org>
Cc: Michal Marek <mmarek@suse.cz>
Cc: linux-kbuild@vger.kernel.org
[Jan: drop redundant mrproper rule as suggested by Michal]
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 .gitignore                   | 1 +
 scripts/gdb/linux/.gitignore | 2 ++
 2 files changed, 3 insertions(+)
 create mode 100644 scripts/gdb/linux/.gitignore
diff mbox

Patch

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