lkml.org 
[lkml]   [2015]   [Jan]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v11 23/28] scripts/gdb: Ignore byte-compiled python files
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?

Thanks,
Jan

--
Siemens AG, Corporate Technology, CT RTC ITP SES-DE
Corporate Competence Center Embedded Linux


\
 
 \ /
  Last update: 2015-01-29 15:01    [W:0.074 / U:0.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site