From: Jan Kiszka <jan.kiszka@siemens.com>
To: Daniel Thompson <daniel.thompson@linaro.org>
Cc: linux-kernel@vger.kernel.org, patches@linaro.org,
linaro-kernel@lists.linaro.org, Michal Marek <mmarek@suse.cz>,
linux-kbuild@vger.kernel.org
Subject: Re: [PATCH gdb/scripts] scripts/gdb: Ignore byte-compiled python files
Date: Mon, 11 Aug 2014 07:40:01 +0200 [thread overview]
Message-ID: <53E85731.3000507@siemens.com> (raw)
In-Reply-To: <1407335269-9533-1-git-send-email-daniel.thompson@linaro.org>
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
prev parent reply other threads:[~2014-08-11 5:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=53E85731.3000507@siemens.com \
--to=jan.kiszka@siemens.com \
--cc=daniel.thompson@linaro.org \
--cc=linaro-kernel@lists.linaro.org \
--cc=linux-kbuild@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mmarek@suse.cz \
--cc=patches@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox