From patchwork Thu Jan 29 06:46:42 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Kiszka X-Patchwork-Id: 5737991 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.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 4C5BB9F38B for ; Thu, 29 Jan 2015 06:58:44 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8576C201DD for ; Thu, 29 Jan 2015 06:58:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A7F6820120 for ; Thu, 29 Jan 2015 06:58:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752080AbbA2G63 (ORCPT ); Thu, 29 Jan 2015 01:58:29 -0500 Received: from david.siemens.de ([192.35.17.14]:58352 "EHLO david.siemens.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750842AbbA2G5Y (ORCPT ); Thu, 29 Jan 2015 01:57:24 -0500 Received: from mail1.siemens.de (localhost [127.0.0.1]) by david.siemens.de (8.14.3/8.14.3) with ESMTP id t0T6l49I016945; Thu, 29 Jan 2015 07:47:04 +0100 Received: from md1f2u6c.ww002.siemens.net ([139.22.116.231]) by mail1.siemens.de (8.14.3/8.14.3) with SMTP id t0T6kmvv031868; Thu, 29 Jan 2015 07:47:04 +0100 From: Jan Kiszka To: Andrew Morton , linux-kernel@vger.kernel.org Cc: Thomas Gleixner , Jason Wessel , kgdb-bugreport@lists.sourceforge.net, Andi Kleen , Tom Tromey , Ben Widawsky , Borislav Petkov , Daniel Thompson , Michal Marek , linux-kbuild@vger.kernel.org Subject: [PATCH v11 23/28] scripts/gdb: Ignore byte-compiled python files Date: Thu, 29 Jan 2015 07:46:42 +0100 Message-Id: X-Mailer: git-send-email 2.1.4 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 | 3 ++- scripts/gdb/linux/.gitignore | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 scripts/gdb/linux/.gitignore diff --git a/.gitignore b/.gitignore index ce57b79..ecb89e3 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 6881ddf..ee7394e 100644 --- a/Makefile +++ b/Makefile @@ -1179,7 +1179,8 @@ MRPROPER_FILES += .config .config.old .version .old_version $(version_h) \ Module.symvers tags TAGS cscope* GPATH GTAGS GRTAGS GSYMS \ signing_key.priv signing_key.x509 x509.genkey \ extra_certificates signing_key.x509.keyid \ - signing_key.x509.signer vmlinux-gdb.py + signing_key.x509.signer 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