mirror of
https://github.com/novatiq/packages.git
synced 2026-04-29 06:58:39 +01:00
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:
@@ -7,10 +7,13 @@
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
# For PYTHON_VERSION
|
||||
include ./files/python-version.mk
|
||||
|
||||
# This file provides the necsessary host build variables
|
||||
include ./files/python-host.mk
|
||||
|
||||
# The file included below defines PYTHON_VERSION
|
||||
# For PyPackage
|
||||
include ./files/python-package.mk
|
||||
|
||||
PKG_NAME:=python
|
||||
@@ -142,6 +145,7 @@ define Build/InstallDev
|
||||
$(INSTALL_DATA) \
|
||||
./files/python-package.mk \
|
||||
./files/python-host.mk \
|
||||
./files/python-version.mk \
|
||||
$(STAGING_DIR)/mk/
|
||||
$(CP) \
|
||||
$(PKG_INSTALL_DIR)/usr/include/python$(PYTHON_VERSION) \
|
||||
|
||||
Reference in New Issue
Block a user