summaryrefslogtreecommitdiffstats
path: root/rules/host-system-python.make
diff options
context:
space:
mode:
authorMarkus Pargmann <mpa@pengutronix.de>2014-12-03 15:38:32 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2014-12-04 17:29:46 +0100
commitdbd740eca61007b7d76ba92f1c12808f7b568bfc (patch)
treed5c115ba09110354535473c3714c7066ce1482c6 /rules/host-system-python.make
parentb87c66a17958e669d0f62e9c7a0b52105c5cc825 (diff)
downloadptxdist-2014.12.0.tar.gz
ptxdist-2014.12.0.tar.xz
host-system-python: Add python-bz2 moduleptxdist-2014.12.0
Signed-off-by: Markus Pargmann <mpa@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/host-system-python.make')
-rw-r--r--rules/host-system-python.make6
1 files changed, 6 insertions, 0 deletions
diff --git a/rules/host-system-python.make b/rules/host-system-python.make
index 6edccab81..84be5b2dd 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)