Re: [PATCH v3 2/4] pm:cpupower: Add SWIG bindings files for libcpupower

From: Linus Torvalds
Date: Sun Sep 22 2024 - 11:40:09 EST


On Sat, 21 Sept 2024 at 14:23, Guenter Roeck <linux@xxxxxxxxxxxx> wrote:
>
> On Wed, Sep 04, 2024 at 10:19:09PM -0400, John B. Wyatt IV wrote:
> >
> > .../bindings/python/raw_pylibcpupower.i | 247 ++++++++++++++++++
>
> This file is deleted when running "make mrproper".

Yes, please don't create files called '*.i", "*.s" or "*.o". We
assume they are generated files (the result of the preprocessor, the
compiler, and the assembler respectively).

And yeah, obviously "*.i" and "*.s" and not _usually_ seen, because
they are only steps on the way to "*.o", so maybe they aren't _quite_
as obvious as some "*.o" file would be, but they are very much
standard naming, and we have build rules for them (ie "make
kernel/exit.i" will create the pre-processed result of exit.c).

Linus