From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Wed, 30 Mar 2022 09:27:17 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1nZSjZ-00BA8o-Qw for lore@lore.pengutronix.de; Wed, 30 Mar 2022 09:27:17 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1nZSjc-0001vz-Ej; Wed, 30 Mar 2022 09:27:16 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nZSht-00005D-PY; Wed, 30 Mar 2022 09:25:29 +0200 Received: from [2a0a:edc0:0:1101:1d::39] (helo=dude03.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1nZShq-003wYB-Cz; Wed, 30 Mar 2022 09:25:29 +0200 Received: from mol by dude03.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1nZShs-00AiPP-EJ; Wed, 30 Mar 2022 09:25:28 +0200 From: Michael Olbrich To: ptxdist@pengutronix.de Date: Wed, 30 Mar 2022 09:25:28 +0200 Message-Id: <20220330072528.2553931-1-m.olbrich@pengutronix.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220323110640.1124214-1-r.czerwinski@pengutronix.de> References: <20220323110640.1124214-1-r.czerwinski@pengutronix.de> MIME-Version: 1.0 Subject: Re: [ptxdist] [APPLIED] host-python3: add pyelftools, cryptography checks 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: Rouven Czerwinski Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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.ext.pengutronix.de); SAEximRunCond expanded to false Thanks, applied as aa468000b9cb29760665bd014fbc8e42e29068c1. Michael [sent from post-receive hook] On Wed, 30 Mar 2022 09:25:27 +0200, Rouven Czerwinski wrote: > Add the checks for python3 cryptgraphy and pyelftools. These will be > required for bumping the OP-TEE release. > > Signed-off-by: Rouven Czerwinski > Message-Id: <20220323110640.1124214-1-r.czerwinski@pengutronix.de> > Signed-off-by: Michael Olbrich > > diff --git a/rules/host-system-python3.in b/rules/host-system-python3.in > index baafc1572fbd..4be968f435ee 100644 > --- a/rules/host-system-python3.in > +++ b/rules/host-system-python3.in > @@ -23,4 +23,10 @@ config HOST_SYSTEM_PYTHON3_SETUPTOOLS > config HOST_SYSTEM_PYTHON3_SIX > bool > > +config HOST_SYSTEM_PYTHON3_PYELFTOOLS > + bool > + > +config HOST_SYSTEM_PYTHON3_CRYPTOGRAPHY > + bool > + > endif > diff --git a/rules/host-system-python3.make b/rules/host-system-python3.make > index a44767c503b4..02e9da1410fc 100644 > --- a/rules/host-system-python3.make > +++ b/rules/host-system-python3.make > @@ -59,6 +59,18 @@ ifdef PTXCONF_HOST_SYSTEM_PYTHON3_SIX > @$(SYSTEMPYTHON3) -c 'import six' 2>/dev/null || \ > ptxd_bailout "Python six module not found! \ > Please install python3-six (debian)"; > +endif > +ifdef PTXCONF_HOST_SYSTEM_PYTHON3_PYELFTOOLS > + @echo "Checking for Python Pyelftools ..." > + @$(SYSTEMPYTHON3) -c 'import elftools' 2>/dev/null || \ > + ptxd_bailout "Python elftools module not found! \ > + Please install python3-pyelftools (debian)"; > +endif > +ifdef PTXCONF_HOST_SYSTEM_PYTHON3_CRYPTOGRAPHY > + @echo "Checking for Python Cryptography ..." > + @$(SYSTEMPYTHON3) -c 'import cryptography' 2>/dev/null || \ > + ptxd_bailout "Python cryptography module not found! \ > + Please install python3-cryptography (debian)"; > endif > @$(call touch) > _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de