summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2015-06-04 22:50:30 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2015-06-09 11:20:38 +0200
commited27755f1e4aace4977b1f3b4fb04c2fac6c3357 (patch)
tree47652409074aed52af2a496b67c7a57dd7342bad
parentd206962615894d575bb305dfb2d3170909b6527f (diff)
downloadptxdist-ed27755f1e4aace4977b1f3b4fb04c2fac6c3357.tar.gz
ptxdist-ed27755f1e4aace4977b1f3b4fb04c2fac6c3357.tar.xz
simplerpl: build with new python helper
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--rules/simplerpl.make24
1 files changed, 2 insertions, 22 deletions
diff --git a/rules/simplerpl.make b/rules/simplerpl.make
index a35eee175..0487cf34d 100644
--- a/rules/simplerpl.make
+++ b/rules/simplerpl.make
@@ -28,28 +28,8 @@ SIMPLERPL_DIR := $(BUILDDIR)/$(SIMPLERPL)
# Prepare
# ----------------------------------------------------------------------------
-SIMPLERPL_CONF_TOOL := NO
-
-# ----------------------------------------------------------------------------
-# Compile
-# ----------------------------------------------------------------------------
-
-$(STATEDIR)/simplerpl.compile:
- @$(call targetinfo)
- @cd $(SIMPLERPL_DIR) && \
- $(CROSS_ENV) $(CROSS_PYTHON) setup.py build -e "/usr/bin/env python"
- @$(call touch)
-
-# ----------------------------------------------------------------------------
-# Install
-# ----------------------------------------------------------------------------
-
-$(STATEDIR)/simplerpl.install:
- @$(call targetinfo)
- @cd $(SIMPLERPL_DIR) && \
- $(CROSS_PYTHON) \
- setup.py install --root=$(SIMPLERPL_PKGDIR) --prefix="/usr"
- @$(call touch)
+SIMPLERPL_CONF_TOOL := python
+SIMPLERPL_MAKE_OPT = build -e "/usr/bin/$(PYTHON_MAJORMINOR)"
# ----------------------------------------------------------------------------
# Target-Install