Re: [PATCH net-next v4 5/8] net: fou: regenerate the uAPI from the spec
From: Johannes Berg <johannes@sipsolutions.net>
Date: 2023-01-24 18:50:58
Also in:
linux-doc
From: Johannes Berg <johannes@sipsolutions.net>
Date: 2023-01-24 18:50:58
Also in:
linux-doc
On Tue, 2023-01-24 at 18:49 +0100, Alexander Lobakin wrote:
From: Jakub Kicinski <kuba@kernel.org> Date: Fri, 20 Jan 2023 09:50:38 -0800quoted
Regenerate the FOU uAPI header from the YAML spec. The flags now come before attributes which use them, and the comments for type disappear (coders should look at the spec instead).Sorry I missed the whole history of this topic. Wanted to ask: if we can generate these headers and even C files, why ship the generated with the source code and not generate them during building? Or it's slow and/or requires some software etc.?
Currently it requires python 3 (3.6+, I'd think?). Python is currently not documented as a build requirement in Documentation/process/changes.rst afaict. johannes