From patchwork Wed Aug 6 14:27:49 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Thompson X-Patchwork-Id: 4686771 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 3139CC0338 for ; Wed, 6 Aug 2014 14:28:32 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 51D8E20138 for ; Wed, 6 Aug 2014 14:28:31 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6EBDC20117 for ; Wed, 6 Aug 2014 14:28:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753990AbaHFO2K (ORCPT ); Wed, 6 Aug 2014 10:28:10 -0400 Received: from mail-wi0-f172.google.com ([209.85.212.172]:50290 "EHLO mail-wi0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753862AbaHFO2I (ORCPT ); Wed, 6 Aug 2014 10:28:08 -0400 Received: by mail-wi0-f172.google.com with SMTP id n3so9021265wiv.17 for ; Wed, 06 Aug 2014 07:28:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=Eh0YDSgRgIOETiBRcAxD2yO1cJvnWwgpPQwXgcF5vuQ=; b=YAOPf1K5SHn5Bgc5o1/Tob76600MVHSWKdbp2k4NDmaL9ZIuIRUKYPdJYMA2VJ500k 6srpU+QmEVOLRI3J2bfWZjx8qxo1bY1MgzfzoyIWsxZMbbySm2xMGCMAzBYVtJZ7coaA 6Ofpq5vbVrzMUuAfAt4fObx2LyLVOjmZ1H4MNBQxOq3YRNsA+Lwcowf254SnnClIEe8+ uTVkWgkkqXmma/DBliCIuOhZMNV680Q4xHepBwaKluiP/5V5pibwicX3AIKIJzdkDg7P zfjsm9PSdEChMi+RPx6G3BP7/2IH3QSle6VZ8cvW/2i9u5k8oKursVdfiXrXRCxDxfKf uJNw== X-Gm-Message-State: ALoCoQmpfCWgaD2a/pVbA3RjMFu/+/DDkBYAfVplc2ca8DnNl/43vUg948UiKJ0Rq6itySgP5aCo X-Received: by 10.180.92.104 with SMTP id cl8mr49413437wib.43.1407335287571; Wed, 06 Aug 2014 07:28:07 -0700 (PDT) Received: from sundance.lan (cpc4-aztw19-0-0-cust157.18-1.cable.virginm.net. [82.33.25.158]) by mx.google.com with ESMTPSA id dc3sm18874780wib.9.2014.08.06.07.28.05 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 06 Aug 2014 07:28:06 -0700 (PDT) From: Daniel Thompson To: Jan Kiszka Cc: Daniel Thompson , linux-kernel@vger.kernel.org, patches@linaro.org, linaro-kernel@lists.linaro.org, Michal Marek , linux-kbuild@vger.kernel.org Subject: [PATCH gdb/scripts] scripts/gdb: Ignore byte-compiled python files Date: Wed, 6 Aug 2014 15:27:49 +0100 Message-Id: <1407335269-9533-1-git-send-email-daniel.thompson@linaro.org> X-Mailer: git-send-email 1.9.3 Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham 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 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: Jan Kiszka Cc: Michal Marek 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