From fe63607e8802de6347120910e1539240876c94f9 Mon Sep 17 00:00:00 2001 From: Arturo Rinaldi Date: Sat, 9 Dec 2017 21:39:24 +0100 Subject: [PATCH] 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 --- lang/python/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lang/python/Makefile b/lang/python/Makefile index 4efe7325e..0b15a001c 100644 --- a/lang/python/Makefile +++ b/lang/python/Makefile @@ -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/