|
@@ -13,7 +13,12 @@ PYTHON_FLIT_CORE_SETUP_TYPE = flit-bootstrap
|
|
|
|
|
|
# Use flit built in bootstrap_install for installing host-python-flit-core.
|
|
# Use flit built in bootstrap_install for installing host-python-flit-core.
|
|
# This is due to host-python-installer depending on host-python-flit-core.
|
|
# This is due to host-python-installer depending on host-python-flit-core.
|
|
-#
|
|
|
|
-HOST_PYTHON_FLIT_CORE_BASE_INSTALL_CMD = -m bootstrap_install dist/* $(HOST_PKG_PYTHON_PEP517_BOOTSTRAP_INSTALL_OPTS)
|
|
|
|
|
|
+define HOST_PYTHON_FLIT_CORE_INSTALL_CMDS
|
|
|
|
+ cd $($(PKG)_BUILDDIR)/; \
|
|
|
|
+ $(HOST_PKG_PYTHON_FLIT_BOOTSTRAP_ENV) \
|
|
|
|
+ $(HOST_DIR)/bin/python3 \
|
|
|
|
+ -m bootstrap_install dist/* \
|
|
|
|
+ --installdir=$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages
|
|
|
|
+endef
|
|
|
|
|
|
$(eval $(host-python-package))
|
|
$(eval $(host-python-package))
|