From: Marco Felsch <m.felsch@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH 3/3] host-system-python3: order options alphabetical
Date: Thu, 1 Sep 2022 10:59:41 +0200 [thread overview]
Message-ID: <20220901085941.2597793-3-m.felsch@pengutronix.de> (raw)
In-Reply-To: <20220901085941.2597793-1-m.felsch@pengutronix.de>
No functional changes.
Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
---
rules/host-system-python3.in | 6 +++---
rules/host-system-python3.make | 12 ++++++------
2 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/rules/host-system-python3.in b/rules/host-system-python3.in
index 21d02e9e7..25201e93f 100644
--- a/rules/host-system-python3.in
+++ b/rules/host-system-python3.in
@@ -5,6 +5,9 @@ config HOST_SYSTEM_PYTHON3
if HOST_SYSTEM_PYTHON3
+config HOST_SYSTEM_PYTHON3_CRYPTOGRAPHY
+ bool
+
config HOST_SYSTEM_PYTHON3_DEV
bool
@@ -32,7 +35,4 @@ config HOST_SYSTEM_PYTHON3_PYELFTOOLS
config HOST_SYSTEM_PYTHON3_PYYAML
bool
-config HOST_SYSTEM_PYTHON3_CRYPTOGRAPHY
- bool
-
endif
diff --git a/rules/host-system-python3.make b/rules/host-system-python3.make
index 217f1f56d..b03efd8bb 100644
--- a/rules/host-system-python3.make
+++ b/rules/host-system-python3.make
@@ -24,6 +24,12 @@ $(STATEDIR)/host-system-python3.prepare:
@$(SYSTEMPYTHON3) -V >/dev/null 2>&1 || \
ptxd_bailout "'python3' not found! Please install.";
@echo
+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
ifdef PTXCONF_HOST_SYSTEM_PYTHON3_DEV
@echo "Checking for Python development files ..."
@$(SYSTEMPYTHON3)-config --includes &>/dev/null || \
@@ -77,12 +83,6 @@ ifdef PTXCONF_HOST_SYSTEM_PYTHON3_PYYAML
@$(SYSTEMPYTHON3) -c 'import yaml' 2>/dev/null || \
ptxd_bailout "Python pyyaml module not found! \
Please install python3-yaml (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)
--
2.30.2
next prev parent reply other threads:[~2022-09-01 9:00 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-01 8:59 [ptxdist] [PATCH 1/3] blspec-entry: add linux-appendroot support Marco Felsch
2022-09-01 8:59 ` [ptxdist] [PATCH 2/3] host-system-python3: add ply and pyyaml option Marco Felsch
2022-09-11 7:10 ` [ptxdist] [APPLIED] " Michael Olbrich
2022-09-01 8:59 ` Marco Felsch [this message]
2022-09-11 7:10 ` [ptxdist] [APPLIED] host-system-python3: order options alphabetical Michael Olbrich
2022-09-02 7:20 ` [ptxdist] [PATCH 1/3] blspec-entry: add linux-appendroot support Michael Olbrich
2022-09-02 8:03 ` Marco Felsch
2022-09-02 9:22 ` Michael Olbrich
2022-09-02 10:37 ` Marco Felsch
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=20220901085941.2597793-3-m.felsch@pengutronix.de \
--to=m.felsch@pengutronix.de \
--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