On Mon, 28 Jul 2025, Mauro Carvalho Chehab <mchehab+huawei@xxxxxxxxxx> wrote: > Considering the above, for me it seems that the bus already departed: > there are several cases where Python is required during build time. FWIW, if it was up to me, I'd make Python 3+ a non-optional build dependency. I'd also forget about any Python 2 backward compat stuff. I would find it very useful for code/header generation during build time, instead of having to resort to C hostprogs. Similar to what MSM is doing. That said, I know there's going to be people vehemently opposed. > So, adding a "depends on TOOL_PYTHON" doesn't seem to be trivial. Agreed. Forget about that idea. BR, Jani. -- Jani Nikula, Intel