From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 18 Sep 2026 11:02:10 +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 1x7UTy-003Vbf-2t for lore@lore.pengutronix.de; Fri, 18 Sep 2026 11:02:10 +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 1x7UTx-0003lE-VT; Fri, 18 Sep 2026 11:02:09 +0200 Received: from mx1.white.stw.pengutronix.de ([185.203.200.13]) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1x7UTs-0003iE-Sh for ptxdist@pengutronix.de; Fri, 18 Sep 2026 11:02:05 +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 CFB3420004A; Fri, 18 Sep 2026 11:02:04 +0200 (CEST) Received: from dude05.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::54]) 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 1x7UTs-001Xkg-2U; Fri, 18 Sep 2026 11:02:04 +0200 Received: from mol by dude05.red.stw.pengutronix.de with local (Exim 4.98.2) (envelope-from ) id 1x7UTs-000000075yL-2zsg; Fri, 18 Sep 2026 11:02:04 +0200 From: Michael Olbrich To: ptxdist@pengutronix.de Date: Fri, 18 Sep 2026 11:02:04 +0200 Message-ID: <20260918090204.1691247-1-m.olbrich@pengutronix.de> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260831131159.11771-2-bruno.thomsen@gmail.com> References: <20260831131159.11771-2-bruno.thomsen@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.whiteo.stw.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham autolearn_force=no version=3.4.2 Subject: Re: [ptxdist] [APPLIED] 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: Bruno Thomsen 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 Thanks, applied as 6ddce8bb2697a0067750ae065fda669f45e6d8ff. Michael [sent from post-receive hook] On Fri, 18 Sep 2026 11:02:04 +0200, Bruno Thomsen wrote: > Used for device tree validation. > > Signed-off-by: Bruno Thomsen > Message-Id: <20260831131159.11771-2-bruno.thomsen@gmail.com> > [mol: fix Debian package name] > Signed-off-by: Michael Olbrich > > 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 || \