python,python3: Use ensurepip=upgrade for host Python

This changes --with-ensurepip=install to upgrade, to upgrade host
versions of setuptools and pip to the Python-bundled versions.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
This commit is contained in:
Jeffery To 2019-05-28 19:14:44 +08:00
parent e6812324c6
commit af5288827e
2 changed files with 2 additions and 2 deletions

View File

@ -295,7 +295,7 @@ HOST_CONFIGURE_ARGS+= \
--prefix=$(HOST_PYTHON_DIR) \
--exec-prefix=$(HOST_PYTHON_DIR) \
--with-system-expat=$(STAGING_DIR_HOSTPKG) \
--with-ensurepip=install \
--with-ensurepip=upgrade \
CONFIG_SITE=
define Host/Compile

View File

@ -289,7 +289,7 @@ HOST_CONFIGURE_ARGS+= \
--prefix=$(HOST_PYTHON3_DIR) \
--exec-prefix=$(HOST_PYTHON3_DIR) \
--with-system-expat=$(STAGING_DIR_HOSTPKG) \
--with-ensurepip=install \
--with-ensurepip=upgrade \
CONFIG_SITE=
define Host/Compile