From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 04 Sep 2026 09:17:21 +0200 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1x2OAq-00Adxq-0x for lore@lore.pengutronix.de; Fri, 04 Sep 2026 09:17:21 +0200 Received: from [127.0.0.1] (helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1x2OAq-0000SR-6F; Fri, 04 Sep 2026 09:17:20 +0200 Received: from mx1.white.stw.pengutronix.de ([2a0a:edc0:0:b01:1d::107]) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1x2OAh-0000SC-7n for ptxdist@pengutronix.de; Fri, 04 Sep 2026 09:17:11 +0200 Received: from drehscheibe.grey.stw.pengutronix.de (drehscheibe.grey.stw.pengutronix.de [IPv6:2a0a:edc0:0:c01:1d::a2]) (Authenticated sender: relay-from-drehscheibe.grey.stw.pengutronix.de) by mx1.white.stw.pengutronix.de (Postfix) with ESMTPSA id 312402058ED; Fri, 04 Sep 2026 09:17:11 +0200 (CEST) Received: from pty.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::c5]) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1x2OAh-004sZW-0O; Fri, 04 Sep 2026 09:17:11 +0200 Received: from mol by pty.whiteo.stw.pengutronix.de with local (Exim 4.98.2) (envelope-from ) id 1x2OAh-00000005fZP-06PP; Fri, 04 Sep 2026 09:17:11 +0200 Date: Fri, 4 Sep 2026 09:17:11 +0200 From: Michael Olbrich To: Bruno Thomsen Message-ID: Mail-Followup-To: Bruno Thomsen , ptxdist@pengutronix.de References: <20260831131159.11771-1-bruno.thomsen@gmail.com> <20260831131159.11771-2-bruno.thomsen@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260831131159.11771-2-bruno.thomsen@gmail.com> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-Accept-Language: de,en X-Accept-Content-Type: text/plain X-IRC: #ptxdist @freenode Subject: Re: [ptxdist] [PATCH v2 1/2] host-system-python3: add dtschema X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: ptxdist@pengutronix.de Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false On Mon, Aug 31, 2026 at 03:11:58PM +0200, Bruno Thomsen wrote: > Used for device tree validation. > > Signed-off-by: Bruno Thomsen > --- > v1 -> v2 changed: > - host-system-python{,3} > --- > rules/host-system-python3.in | 4 ++++ > rules/host-system-python3.make | 9 +++++++++ > 2 files changed, 13 insertions(+) > > diff --git a/rules/host-system-python3.in b/rules/host-system-python3.in > index 4d6ea7d1d..2d8296852 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 6de4466d0..8923acfd6 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 python3-dtschema (debian)"; > + @dt-validate --version >/dev/null 2>&1 || \ > + ptxd_bailout "'dt-validate' not found in PATH! \ > + Please install python3-dtschema (debian)"; The Debian package is dt-schema. I'll fix it while applying the patch. Michael > +endif > ifdef PTXCONF_HOST_SYSTEM_PYTHON3_NUMPY > @echo "Checking for Python Numpy ..." > @$(SYSTEMPYTHON3) -c 'import numpy' 2>/dev/null || \ > -- > 2.55.0 > > > -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |