From patchwork Wed Aug 27 15:21:38 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Kiszka X-Patchwork-Id: 4789191 Return-Path: X-Original-To: patchwork-linux-kbuild@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id C76C99FC38 for ; Wed, 27 Aug 2014 15:26:27 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 01F002011E for ; Wed, 27 Aug 2014 15:26:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1FDCC2011D for ; Wed, 27 Aug 2014 15:26:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934819AbaH0PYN (ORCPT ); Wed, 27 Aug 2014 11:24:13 -0400 Received: from thoth.sbs.de ([192.35.17.2]:40373 "EHLO thoth.sbs.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935307AbaH0PWe (ORCPT ); Wed, 27 Aug 2014 11:22:34 -0400 Received: from mail1.siemens.de (localhost [127.0.0.1]) by thoth.sbs.de (8.14.3/8.14.3) with ESMTP id s7RFLgIR011931; Wed, 27 Aug 2014 17:21:42 +0200 Received: from mchn199C.mchp.siemens.de.de ([139.25.40.156]) by mail1.siemens.de (8.14.3/8.14.3) with ESMTP id s7RFLehx008948; Wed, 27 Aug 2014 17:21:42 +0200 From: Jan Kiszka To: Thomas Gleixner , Andrew Morton , linux-kernel@vger.kernel.org Cc: Jason Wessel , kgdb-bugreport@lists.sourceforge.net, Andi Kleen , Tom Tromey , Ben Widawsky , Borislav Petkov , Tatiana Al-Chueyr Martins , Daniel Thompson , Michal Marek , linux-kbuild@vger.kernel.org Subject: [PATCH v9 23/23] scripts/gdb: Ignore byte-compiled python files Date: Wed, 27 Aug 2014 17:21:38 +0200 Message-Id: <0cd72dfec1784fa6ec081144467fd8b9f07ed300.1409152897.git.jan.kiszka@siemens.com> X-Mailer: git-send-email 1.8.1.1.298.ge7eed54 In-Reply-To: References: In-Reply-To: References: Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Daniel Thompson 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 Cc: Michal Marek Cc: linux-kbuild@vger.kernel.org Signed-off-by: Jan Kiszka --- .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