summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2015-06-04 22:48:14 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2015-06-09 11:20:37 +0200
commitd206962615894d575bb305dfb2d3170909b6527f (patch)
tree719efe3e42805365fbf796276e4d12c593007aca
parentc19307dd72be65068a61a4b58ffb179b5452921f (diff)
downloadptxdist-d206962615894d575bb305dfb2d3170909b6527f.tar.gz
ptxdist-d206962615894d575bb305dfb2d3170909b6527f.tar.xz
pyzmq: build with new python helper
Fix using system libzmq while at it. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--rules/pyzmq.make19
1 files changed, 4 insertions, 15 deletions
diff --git a/rules/pyzmq.make b/rules/pyzmq.make
index 0e9fa079c..d0a382d2b 100644
--- a/rules/pyzmq.make
+++ b/rules/pyzmq.make
@@ -29,7 +29,7 @@ PYZMQ_LICENSE := BSD
# Prepare
# ----------------------------------------------------------------------------
-PYZMQ_CONF_TOOL := NO
+PYZMQ_CONF_TOOL := python
# ----------------------------------------------------------------------------
# Compile
@@ -37,20 +37,9 @@ PYZMQ_CONF_TOOL := NO
$(STATEDIR)/pyzmq.compile:
@$(call targetinfo)
- cd $(PYZMQ_DIR) && \
- $(CROSS_ENV) $(CROSS_PYTHON) \
- setup.py build --zmq=bundled
- @$(call touch)
-
-# ----------------------------------------------------------------------------
-# Install
-# ----------------------------------------------------------------------------
-
-$(STATEDIR)/pyzmq.install:
- @$(call targetinfo)
- @cd $(PYZMQ_DIR) && \
- $(CROSS_ENV) $(CROSS_PYTHON) \
- setup.py install --root=$(PYZMQ_PKGDIR) --prefix=/usr
+ @mkdir -p $(PYZMQ_DIR)/build
+ echo '{ "have_sys_un_h": true, "no_libzmq_extension": true, "libzmq_extension": false, "skip_check_zmq": true }' > $(PYZMQ_DIR)/build/config.json
+ @$(call world/compile, PYZMQ)
@$(call touch)
# ----------------------------------------------------------------------------