Re: [PATCH] kbuild: dummy-tools: Add python3
From: Masahiro Yamada
Date: Wed Feb 04 2026 - 03:17:57 EST
On Wed, Feb 4, 2026 at 4:46 PM Nathan Chancellor <nathan@xxxxxxxxxx> wrote:
>
> On Wed, Feb 04, 2026 at 04:10:24PM +0900, Masahiro Yamada wrote:
> > On Fri, Jan 30, 2026 at 9:17 AM Nathan Chancellor <nathan@xxxxxxxxxx> wrote:
> > >
> > > On Wed, 21 Jan 2026 11:57:57 +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.
> > > >
> > > >
> > >
> > > Applied to
> > >
> > > https://git.kernel.org/pub/scm/linux/kernel/git/kbuild/linux.git kbuild-next
> > >
> > > Thanks!
> > >
> > > [1/1] kbuild: dummy-tools: Add python3
> > > https://git.kernel.org/kbuild/c/76c73cfde7988
> > >
> > > Please look out for regression or issue reports or other follow up
> > > comments, as they may result in the patch/series getting dropped or
> > > reverted. Patches applied to an "unstable" branch are accepted pending
> > > wider testing in -next and any post-commit review; they will generally
> > > be moved to the main branch in a week if no issues are found.
> > >
> > > Best regards,
> > > --
> > > Nathan Chancellor <nathan@xxxxxxxxxx>
> >
> >
> > This was unneeded because we can pass PYTHON3=true
> > from the command line?
>
> Hmmm yeah, I guess that is a fair point, I had not considered that
> alternative. I had figured that some folks may add scripts/dummy-tools
> to PATH like
>
> $ PATH=$PWD/scripts/dummy-tools:$PATH make ...
>
> to have all relevant tools be used automatically from their default
> values than having to specify
Yeah, this seems to be a valid motivation for this patch.
Thanks.
> $ make CROSS_COMPILE=scripts/dummy-tools/ PAHOLE=scripts/dummy-tools/pahole PYTHON3=true
>
> or whatever (at least, that is probably what I would do if I was using
> this).
>
> Cheers,
> Nathan
--
Best Regards
Masahiro Yamada