From: Markus Pargmann <mpa@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Markus Pargmann <mpa@pengutronix.de>
Subject: [ptxdist] [PATCH] host-system-python: Add python-bz2 module
Date: Wed, 3 Dec 2014 15:38:32 +0100 [thread overview]
Message-ID: <1417617512-27367-1-git-send-email-mpa@pengutronix.de> (raw)
Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
---
rules/host-system-python.in | 3 +++
rules/host-system-python.make | 6 ++++++
2 files changed, 9 insertions(+)
diff --git a/rules/host-system-python.in b/rules/host-system-python.in
index 064f3e0422fb..300b078e7f19 100644
--- a/rules/host-system-python.in
+++ b/rules/host-system-python.in
@@ -11,4 +11,7 @@ config HOST_SYSTEM_PYTHON_XML2
config HOST_SYSTEM_PYTHON_ARGPARSE
bool
+config HOST_SYSTEM_PYTHON_BZ2
+ bool
+
endif
diff --git a/rules/host-system-python.make b/rules/host-system-python.make
index 6edccab8132c..84be5b2dde2e 100644
--- a/rules/host-system-python.make
+++ b/rules/host-system-python.make
@@ -34,6 +34,12 @@ ifdef PTXCONF_HOST_SYSTEM_PYTHON_ARGPARSE
ptxd_bailout "Python argparse module not found! \
Please install python-argparse (debian)";
endif
+ifdef PTXCONF_HOST_SYSTEM_PYTHON_BZ2
+ @echo "Checking for Python bz2 ..."
+ @python -c 'import bz2' 2>/dev/null || \
+ ptxd_bailout "Python bz2 module not found! \
+ Please install python-bz2";
+endif
@echo
@$(call touch)
--
2.1.3
--
ptxdist mailing list
ptxdist@pengutronix.de
next reply other threads:[~2014-12-03 14:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-03 14:38 Markus Pargmann [this message]
2014-12-04 16:30 ` 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=1417617512-27367-1-git-send-email-mpa@pengutronix.de \
--to=mpa@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