python3: split python3-version.mk from python3-package.mk

And move \`python3-package.mk\` include, same as in python package.
This is mostly to have consistency/similarity between python & python3
packages.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
This commit is contained in:
Alexandru Ardelean
2016-12-16 09:07:41 +02:00
parent 73231f6d21
commit 985dcd4b28
3 changed files with 21 additions and 7 deletions

View File

@@ -11,11 +11,7 @@ ifeq ($(STAGING_DIR_HOSTPKG),)
STAGING_DIR_HOSTPKG := $(STAGING_DIR)/host
endif
PYTHON3_VERSION_MAJOR:=3
PYTHON3_VERSION_MINOR:=5
PYTHON3_VERSION_MICRO:=2
PYTHON3_VERSION:=$(PYTHON3_VERSION_MAJOR).$(PYTHON3_VERSION_MINOR)
$(call include_mk, python3-version.mk)
PYTHON3_DIR:=$(STAGING_DIR)/usr
PYTHON3_BIN_DIR:=$(PYTHON3_DIR)/bin