* [PATCH gdb/scripts] scripts/gdb: Ignore byte-compiled python files
@ 2014-08-06 14:27 Daniel Thompson
2014-08-11 5:40 ` Jan Kiszka
0 siblings, 1 reply; 2+ messages in thread
From: Daniel Thompson @ 2014-08-06 14:27 UTC (permalink / raw)
To: Jan Kiszka
Cc: Daniel Thompson, linux-kernel, patches, linaro-kernel,
Michal Marek, linux-kbuild
Using the gdb scripts leaves byte-compiled python files in the scripts/
directory. These should be ignored by git and cleaned up by mrproper.
Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
Cc: Jan Kiszka <jan.kiszka@siemens.com>
Cc: Michal Marek <mmarek@suse.cz>
Cc: linux-kbuild@vger.kernel.org
---
Notes:
Relies upon (and intended for incorporation into) Jan Kiszka's gdb/scripts
patch series.
.gitignore | 1 +
Makefile | 2 +-
scripts/gdb/linux/.gitignore | 2 ++
3 files changed, 4 insertions(+), 1 deletion(-)
create mode 100644 scripts/gdb/linux/.gitignore
diff --git a/.gitignore b/.gitignore
index f4c0b09..a04486e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -42,6 +42,7 @@ Module.symvers
/TAGS
/linux
/vmlinux
+/vmlinux-gdb.py
/vmlinuz
/System.map
/Module.markers
diff --git a/Makefile b/Makefile
index 7105eb2a..a3ca8ba 100644
--- a/Makefile
+++ b/Makefile
@@ -1136,7 +1136,7 @@ MRPROPER_FILES += .config .config.old .version .old_version $(version_h) \
signing_key.priv signing_key.x509 x509.genkey \
extra_certificates signing_key.x509.keyid \
signing_key.x509.signer include/linux/version.h \
- vmlinux-gdb.py
+ vmlinux-gdb.py scripts/gdb/linux/*.py[co]
# clean - Delete most, but leave enough to build external modules
#
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
--
1.9.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH gdb/scripts] scripts/gdb: Ignore byte-compiled python files
2014-08-06 14:27 [PATCH gdb/scripts] scripts/gdb: Ignore byte-compiled python files Daniel Thompson
@ 2014-08-11 5:40 ` Jan Kiszka
0 siblings, 0 replies; 2+ messages in thread
From: Jan Kiszka @ 2014-08-11 5:40 UTC (permalink / raw)
To: Daniel Thompson
Cc: linux-kernel, patches, linaro-kernel, Michal Marek, linux-kbuild
On 2014-08-06 16:27, Daniel Thompson wrote:
> Using the gdb scripts leaves byte-compiled python files in the scripts/
> directory. These should be ignored by git and cleaned up by mrproper.
>
> Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
> Cc: Jan Kiszka <jan.kiszka@siemens.com>
> Cc: Michal Marek <mmarek@suse.cz>
> Cc: linux-kbuild@vger.kernel.org
> ---
>
> Notes:
> Relies upon (and intended for incorporation into) Jan Kiszka's gdb/scripts
> patch series.
>
> .gitignore | 1 +
> Makefile | 2 +-
> scripts/gdb/linux/.gitignore | 2 ++
> 3 files changed, 4 insertions(+), 1 deletion(-)
> create mode 100644 scripts/gdb/linux/.gitignore
>
> diff --git a/.gitignore b/.gitignore
> index f4c0b09..a04486e 100644
> --- a/.gitignore
> +++ b/.gitignore
> @@ -42,6 +42,7 @@ Module.symvers
> /TAGS
> /linux
> /vmlinux
> +/vmlinux-gdb.py
> /vmlinuz
> /System.map
> /Module.markers
> diff --git a/Makefile b/Makefile
> index 7105eb2a..a3ca8ba 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -1136,7 +1136,7 @@ MRPROPER_FILES += .config .config.old .version .old_version $(version_h) \
> signing_key.priv signing_key.x509 x509.genkey \
> extra_certificates signing_key.x509.keyid \
> signing_key.x509.signer include/linux/version.h \
> - vmlinux-gdb.py
> + vmlinux-gdb.py scripts/gdb/linux/*.py[co]
>
> # clean - Delete most, but leave enough to build external modules
> #
> 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
>
Thanks, picked up into my queue. Rebased version pushed. I'll repost the
series once again soon.
Jan
--
Siemens AG, Corporate Technology, CT RTC ITP SES-DE
Corporate Competence Center Embedded Linux
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-08-11 5:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-06 14:27 [PATCH gdb/scripts] scripts/gdb: Ignore byte-compiled python files Daniel Thompson
2014-08-11 5:40 ` Jan Kiszka
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).