From patchwork Thu Nov 20 17:02:00 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Kiszka X-Patchwork-Id: 5349931 Return-Path: X-Original-To: patchwork-linux-kbuild@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 746CEC11AC for ; Thu, 20 Nov 2014 17:18:50 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id AADEC201ED for ; Thu, 20 Nov 2014 17:18:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C0ECB201E4 for ; Thu, 20 Nov 2014 17:18:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757387AbaKTRSs (ORCPT ); Thu, 20 Nov 2014 12:18:48 -0500 Received: from thoth.sbs.de ([192.35.17.2]:51471 "EHLO thoth.sbs.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756984AbaKTRSs (ORCPT ); Thu, 20 Nov 2014 12:18:48 -0500 Received: from mail1.siemens.de (localhost [127.0.0.1]) by thoth.sbs.de (8.14.3/8.14.3) with ESMTP id sAKH29on030369; Thu, 20 Nov 2014 18:02:09 +0100 Received: from md1f2u6c.ww002.siemens.net (md1f2u6c.mch.sbs.de [139.25.40.156] (may be forged)) by mail1.siemens.de (8.14.3/8.14.3) with ESMTP id sAKH26B6018988; Thu, 20 Nov 2014 18:02:09 +0100 From: Jan Kiszka To: Thomas Gleixner , linux-kernel@vger.kernel.org Cc: Andrew Morton , 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 v10 23/27] scripts/gdb: Ignore byte-compiled python files Date: Thu, 20 Nov 2014 18:02:00 +0100 Message-Id: <9372f8bb9ab09ab0c0f15c0a01584a9c23a48d20.1416502923.git.jan.kiszka@siemens.com> X-Mailer: git-send-email 1.8.4.5 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, T_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 5917c1c..e806f73 100644 --- a/Makefile +++ b/Makefile @@ -1179,7 +1179,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