summaryrefslogtreecommitdiffstats
path: root/rules/host-python.make
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2015-06-04 21:45:52 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2015-06-09 11:20:35 +0200
commit048b4aefcea1d9f51d5543f13d8dd1e386b8e52c (patch)
treedf84db2469351c59f24d30fec332c12b8d585f83 /rules/host-python.make
parenteed3ed9d9bab6ef81a822708b8e49710efa482f3 (diff)
downloadptxdist-048b4aefcea1d9f51d5543f13d8dd1e386b8e52c.tar.gz
ptxdist-048b4aefcea1d9f51d5543f13d8dd1e386b8e52c.tar.xz
add helper to build python packages
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/host-python.make')
-rw-r--r--rules/host-python.make4
1 files changed, 3 insertions, 1 deletions
diff --git a/rules/host-python.make b/rules/host-python.make
index fc89b90eb..1d678b22a 100644
--- a/rules/host-python.make
+++ b/rules/host-python.make
@@ -16,7 +16,9 @@ HOST_PACKAGES-$(PTXCONF_HOST_PYTHON) += host-python
#
# Paths and names
#
-HOST_PYTHON_DIR = $(HOST_BUILDDIR)/$(PYTHON)
+HOST_PYTHON_DIR = $(HOST_BUILDDIR)/$(PYTHON)
+
+HOSTPYTHON = $(PTXCONF_SYSROOT_HOST)/bin/python$(PYTHON_MAJORMINOR)
# ----------------------------------------------------------------------------
# Prepare