scripts/gdb: ignore byte-compiled python files

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

[jan.kiszka@siemens.com: drop redundant mrproper rule as suggested by Michal]
Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Cc: Michal Marek <mmarek@suse.cz>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Jason Wessel <jason.wessel@windriver.com>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: Ben Widawsky <ben@bwidawsk.net>
Cc: Borislav Petkov <bp@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Daniel Thompson 2015-02-17 13:47:38 -08:00 committed by Linus Torvalds
parent 276d97d90a
commit 2478a8a15c
2 changed files with 3 additions and 0 deletions

1
.gitignore vendored
View File

@ -43,6 +43,7 @@ Module.symvers
/TAGS /TAGS
/linux /linux
/vmlinux /vmlinux
/vmlinux-gdb.py
/vmlinuz /vmlinuz
/System.map /System.map
/Module.markers /Module.markers

2
scripts/gdb/linux/.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
*.pyc
*.pyo