lkml.org 
[lkml]   [2014]   [Aug]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v9 23/23] scripts/gdb: Ignore byte-compiled python files
    Date
    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 and cleaned up by mrproper.

    Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
    Cc: Michal Marek <mmarek@suse.cz>
    Cc: linux-kbuild@vger.kernel.org
    Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
    ---
    .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 e213b27..17d4457 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/Makefile b/Makefile
    index 6cddc6f..d319e25 100644
    --- a/Makefile
    +++ b/Makefile
    @@ -1171,7 +1171,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.8.1.1.298.ge7eed54


    \
     
     \ /
      Last update: 2014-08-27 17:41    [W:3.746 / U:0.128 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site