summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArturo Rinaldi <arty.net2@gmail.com>2017-12-09 21:39:24 +0100
committerJo-Philipp Wich <jo@mein.io>2017-12-12 17:08:37 +0100
commitfe63607e8802de6347120910e1539240876c94f9 (patch)
tree427a3b4a3f5fc1454cbc7b806bce63b2c4e362d5
parent8eb10fd28fadf683d2c3019de5255c55572e0be9 (diff)
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>
-rw-r--r--lang/python/Makefile6
1 files changed, 5 insertions, 1 deletions
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/