On Tue, Jul 29, 2025 at 11:44 AM Mauro Carvalho Chehab <mchehab+huawei@xxxxxxxxxx> wrote: > > Python is listed as an optional dependency, but this is not > true, as: > > 1) arm (multi_v7_defconfig and other defconfigs) and arm64 defconfig > needs it due to DRM_MSM dependencies; > > 2) CONFIG_LTO_CLANG runs a python script at scripts/Makefile.vmlinux_o; > > 3) kernel-doc is called during compilation when some DRM options > like CONFIG_DRM_I915_WERROR are enabled; > > 4) allyesconfig/allmodconfig will enable CONFIG_* dependencies > that needs it; > > 5) besides DRM, other subsystems seem to have logic calling *.py > scripts. > > So, better document that and change the dependency from optional > to mandatory to reflect the current needs. > > Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@xxxxxxxxxx> > --- > Documentation/process/changes.rst | 9 ++++++++- > 1 file changed, 8 insertions(+), 1 deletion(-) DT schema checks requires it too. Acked-by: Rob Herring (Arm) <robh@xxxxxxxxxx>