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>
This commit is contained in:
Alexandru Ardelean
2016-11-07 09:31:18 +02:00
parent 45bdb70e1e
commit 6a670f42b1
4 changed files with 19 additions and 3 deletions

View File

@@ -5,8 +5,7 @@
# See /LICENSE for more information.
#
PYTHON_VERSION:=2.7
PYTHON_VERSION_MICRO:=12
$(call include_mk, python-version.mk)
PYTHON_DIR:=$(STAGING_DIR)/usr
PYTHON_BIN_DIR:=$(PYTHON_DIR)/bin