Re: [PATCH] kbuild: dummy-tools: Add python3

From: Nathan Chancellor

Date: Wed Jan 21 2026 - 18:25:49 EST


On Wed, Jan 21, 2026 at 11:57:57AM +0100, Michal Suchanek wrote:
> DRM_MSM_VALIDATE_XML depends on a python feature. Add a dummy python
> interpreter to make it possible to configure this option with dummy
> tools.
>
> Fixes: b587f413ca47 ("drm/msm/gen_header: allow skipping the validation")
> Signed-off-by: Michal Suchanek <msuchanek@xxxxxxx>

Sure, this seems reasonable, as Python may become more used for various
parts of the kernel over time.

I was thinking this could qualify as a fix for Nicolas to take now but
the help text of CONFIG_DRM_MSM_VALIDATE_XML mentions this option is
mostly targeted at drm/msm developers, so we can probably just take this
via kbuild-next.

> ---
> scripts/dummy-tools/python3 | 5 +++++
> 1 file changed, 5 insertions(+)
> create mode 100755 scripts/dummy-tools/python3
>
> diff --git a/scripts/dummy-tools/python3 b/scripts/dummy-tools/python3
> new file mode 100755
> index 000000000000..1f3ac6541dd3
> --- /dev/null
> +++ b/scripts/dummy-tools/python3
> @@ -0,0 +1,5 @@
> +#!/bin/sh
> +# SPDX-License-Identifier: GPL-2.0-only
> +#
> +
> +true
> --
> 2.51.0
>