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:
parent
8eb10fd28f
commit
fe63607e88
|
@ -12,7 +12,7 @@ include ./files/python-version.mk
|
|||
|
||||
PKG_NAME:=python
|
||||
PKG_VERSION:=$(PYTHON_VERSION).$(PYTHON_VERSION_MICRO)
|
||||
PKG_RELEASE:=4
|
||||
PKG_RELEASE:=5
|
||||
|
||||
PKG_SOURCE:=Python-$(PKG_VERSION).tar.xz
|
||||
PKG_SOURCE_URL:=https://www.python.org/ftp/python/$(PKG_VERSION)
|
||||
|
@ -242,6 +242,10 @@ HOST_CONFIGURE_ARGS+= \
|
|||
--with-system-ffi=no \
|
||||
CONFIG_SITE=
|
||||
|
||||
define Host/Compile
|
||||
$(call Host/Compile/Default,python Parser/pgen sharedmods)
|
||||
endef
|
||||
|
||||
define Host/Install
|
||||
$(MAKE) -C $(HOST_BUILD_DIR) install
|
||||
$(INSTALL_DIR) $(HOST_PYTHON_DIR)/bin/
|
||||
|
|
Loading…
Reference in New Issue