summaryrefslogtreecommitdiff
path: root/lang/python/files/python-host.mk
diff options
context:
space:
mode:
authorAlexandru Ardelean <ardeleanalex@gmail.com>2016-11-07 09:31:18 +0200
committerAlexandru Ardelean <ardeleanalex@gmail.com>2016-11-07 10:55:31 +0200
commit6a670f42b117afd2ddbfeb3320e88d701b39dddc (patch)
treeee28f21e03333acd0259cd2bb9bdeabfa67ae42c /lang/python/files/python-host.mk
parent45bdb70e1ed411f24aae4624563d682a372f287c (diff)
python: move PYTHON_VERSION in own .mk file
Allows for more granularity with respect to python-host.mk and python-package.mk inclusions. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Diffstat (limited to 'lang/python/files/python-host.mk')
-rw-r--r--lang/python/files/python-host.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/lang/python/files/python-host.mk b/lang/python/files/python-host.mk
index da24f3dc1..21f238fe0 100644
--- a/lang/python/files/python-host.mk
+++ b/lang/python/files/python-host.mk
@@ -8,6 +8,9 @@
ifneq ($(__python_host_mk_inc),1)
__python_host_mk_inc=1
+# For PYTHON_VERSION
+$(call include_mk, python-version.mk)
+
# Compatibility fallback for older OpenWrt and LEDE versions
ifeq ($(STAGING_DIR_HOSTPKG),)
$(warning STAGING_DIR_HOSTPKG is unset - falling back to $$(STAGING_DIR)/host)