mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Bruno Thomsen <bruno.thomsen@gmail.com>
Subject: Re: [ptxdist] [APPLIED] host-system-python3: add dtschema
Date: Fri, 18 Sep 2026 11:02:04 +0200	[thread overview]
Message-ID: <20260918090204.1691247-1-m.olbrich@pengutronix.de> (raw)
In-Reply-To: <20260831131159.11771-2-bruno.thomsen@gmail.com>

Thanks, applied as 6ddce8bb2697a0067750ae065fda669f45e6d8ff.

Michael

[sent from post-receive hook]

On Fri, 18 Sep 2026 11:02:04 +0200, Bruno Thomsen <bruno.thomsen@gmail.com> wrote:
> Used for device tree validation.
> 
> Signed-off-by: Bruno Thomsen <bruno.thomsen@gmail.com>
> Message-Id: <20260831131159.11771-2-bruno.thomsen@gmail.com>
> [mol: fix Debian package name]
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/rules/host-system-python3.in b/rules/host-system-python3.in
> index 4d6ea7d1d673..2d8296852979 100644
> --- a/rules/host-system-python3.in
> +++ b/rules/host-system-python3.in
> @@ -15,6 +15,10 @@ config HOST_SYSTEM_PYTHON3_CRYPTOGRAPHY
>  config HOST_SYSTEM_PYTHON3_DEV
>  	bool
>  
> +config HOST_SYSTEM_PYTHON3_DTSCHEMA
> +	select HOST_SYSTEM_PYTHON3_SYSTEM_PACKAGES
> +	bool
> +
>  config HOST_SYSTEM_PYTHON3_NUMPY
>  	select HOST_SYSTEM_PYTHON3_SYSTEM_PACKAGES
>  	bool
> diff --git a/rules/host-system-python3.make b/rules/host-system-python3.make
> index 6de4466d0551..e90289b28757 100644
> --- a/rules/host-system-python3.make
> +++ b/rules/host-system-python3.make
> @@ -42,6 +42,15 @@ ifdef PTXCONF_HOST_SYSTEM_PYTHON3_DEV
>  		ptxd_bailout "Python development files module not found! \
>  	Please install python3-dev (debian)";
>  endif
> +ifdef PTXCONF_HOST_SYSTEM_PYTHON3_DTSCHEMA
> +	@echo "Checking for Python dtschema ..."
> +	@$(SYSTEMPYTHON3) -c 'import dtschema' 2>/dev/null || \
> +		ptxd_bailout "Python dtschema module not found! \
> +	Please install dt-schema (debian)";
> +	@dt-validate --version >/dev/null 2>&1 || \
> +		ptxd_bailout "'dt-validate' not found in PATH! \
> +	Please install dt-schema (debian)";
> +endif
>  ifdef PTXCONF_HOST_SYSTEM_PYTHON3_NUMPY
>  	@echo "Checking for Python Numpy ..."
>  	@$(SYSTEMPYTHON3) -c 'import numpy' 2>/dev/null || \



  parent reply	other threads:[~2026-09-18  9:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-31 13:11 [ptxdist] [PATCH v2 0/2] Run DT schema check on selected device trees Bruno Thomsen
2026-08-31 13:11 ` [ptxdist] [PATCH v2 1/2] host-system-python3: add dtschema Bruno Thomsen
2026-09-04  7:17   ` Michael Olbrich
2026-09-18  9:02   ` Michael Olbrich [this message]
2026-08-31 13:11 ` [ptxdist] [PATCH v2 2/2] kernel: validate device trees against the DT schema Bruno Thomsen
2026-09-18  9:02   ` [ptxdist] [APPLIED] " Michael Olbrich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260918090204.1691247-1-m.olbrich@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=bruno.thomsen@gmail.com \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox