From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752615AbbA2OeM (ORCPT ); Thu, 29 Jan 2015 09:34:12 -0500 Received: from mail-we0-f179.google.com ([74.125.82.179]:32987 "EHLO mail-we0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752243AbbA2OeK (ORCPT ); Thu, 29 Jan 2015 09:34:10 -0500 Message-ID: <54CA44E2.904@linaro.org> Date: Thu, 29 Jan 2015 14:34:10 +0000 From: Daniel Thompson User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 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 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-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@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.