Re: [PATCH v11 23/28] scripts/gdb: Ignore byte-compiled python files

From: Jan Kiszka
Date: Thu Jan 29 2015 - 10:56:29 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/