mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
python: declare explicit Host/Compile to fix pgen tool installation error
Signed-off-by: Arturo Rinaldi arty.net2@gmail.com [squash commits, fix commit title] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
committed by
Jo-Philipp Wich
parent
8eb10fd28f
commit
fe63607e88
@@ -12,7 +12,7 @@ include ./files/python-version.mk
|
|||||||
|
|
||||||
PKG_NAME:=python
|
PKG_NAME:=python
|
||||||
PKG_VERSION:=$(PYTHON_VERSION).$(PYTHON_VERSION_MICRO)
|
PKG_VERSION:=$(PYTHON_VERSION).$(PYTHON_VERSION_MICRO)
|
||||||
PKG_RELEASE:=4
|
PKG_RELEASE:=5
|
||||||
|
|
||||||
PKG_SOURCE:=Python-$(PKG_VERSION).tar.xz
|
PKG_SOURCE:=Python-$(PKG_VERSION).tar.xz
|
||||||
PKG_SOURCE_URL:=https://www.python.org/ftp/python/$(PKG_VERSION)
|
PKG_SOURCE_URL:=https://www.python.org/ftp/python/$(PKG_VERSION)
|
||||||
@@ -242,6 +242,10 @@ HOST_CONFIGURE_ARGS+= \
|
|||||||
--with-system-ffi=no \
|
--with-system-ffi=no \
|
||||||
CONFIG_SITE=
|
CONFIG_SITE=
|
||||||
|
|
||||||
|
define Host/Compile
|
||||||
|
$(call Host/Compile/Default,python Parser/pgen sharedmods)
|
||||||
|
endef
|
||||||
|
|
||||||
define Host/Install
|
define Host/Install
|
||||||
$(MAKE) -C $(HOST_BUILD_DIR) install
|
$(MAKE) -C $(HOST_BUILD_DIR) install
|
||||||
$(INSTALL_DIR) $(HOST_PYTHON_DIR)/bin/
|
$(INSTALL_DIR) $(HOST_PYTHON_DIR)/bin/
|
||||||
|
|||||||
Reference in New Issue
Block a user