From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f182.google.com ([209.85.212.182]:58349 "EHLO mail-wi0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752404AbbA2OeK (ORCPT ); Thu, 29 Jan 2015 09:34:10 -0500 Received: by mail-wi0-f182.google.com with SMTP id n3so25293811wiv.3 for ; Thu, 29 Jan 2015 06:34:09 -0800 (PST) Message-ID: <54CA44E2.904@linaro.org> Date: Thu, 29 Jan 2015 14:34:10 +0000 From: Daniel Thompson MIME-Version: 1.0 Subject: Re: [PATCH v11 23/28] scripts/gdb: Ignore byte-compiled python files References: <54CA325F.9070906@suse.cz> <54CA3736.4090600@siemens.com> In-Reply-To: <54CA3736.4090600@siemens.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kbuild-owner@vger.kernel.org List-ID: To: Jan Kiszka , Michal Marek , 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 , linux-kbuild@vger.kernel.org On 29/01/15 13:35, Jan Kiszka wrote: > On 2015-01-29 14:15, Michal Marek wrote: >> On 2015-01-29 07:46, Jan Kiszka wrote: >>> --- 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] >> >> In 01/28, you already have >> >> +clean-files := *.pyc $(if $(KBUILD_SRC),*.py) >> >> Maybe just add *.pyo there and you don't need to add it to the toplevel >> Makefile. > > Based on a quick test, you seem right. Daniel, anything we miss? No. Deleting it with the clean rule makes sense. Of course the .gitignore parts of my patch will still be needed in some form or other. Daniel.