|
|
@ -144,13 +144,13 @@ define Build/InstallDev |
|
|
|
$(PKG_INSTALL_DIR)/usr/include/python$(PYTHON_VERSION) \
|
|
|
|
$(1)/usr/include/ |
|
|
|
$(CP) \
|
|
|
|
$(STAGING_DIR_HOST)/usr/lib/python$(PYTHON_VERSION) \
|
|
|
|
$(STAGING_DIR)/host/usr/lib/python$(PYTHON_VERSION) \
|
|
|
|
$(PKG_INSTALL_DIR)/usr/lib/libpython$(PYTHON_VERSION).so* \
|
|
|
|
$(1)/usr/lib/ |
|
|
|
$(CP) \
|
|
|
|
$(STAGING_DIR_HOST)/lib/pkgconfig/python.pc \
|
|
|
|
$(STAGING_DIR_HOST)/lib/pkgconfig/python2.pc \
|
|
|
|
$(STAGING_DIR_HOST)/lib/pkgconfig/python-$(PYTHON_VERSION).pc \
|
|
|
|
$(STAGING_DIR)/host/lib/pkgconfig/python.pc \
|
|
|
|
$(STAGING_DIR)/host/lib/pkgconfig/python2.pc \
|
|
|
|
$(STAGING_DIR)/host/lib/pkgconfig/python-$(PYTHON_VERSION).pc \
|
|
|
|
$(1)/usr/lib/pkgconfig |
|
|
|
$(CP) \
|
|
|
|
$(PKG_INSTALL_DIR)/usr/lib/python$(PYTHON_VERSION)/config \
|
|
|
@ -221,16 +221,16 @@ HOST_CONFIGURE_ARGS+= \ |
|
|
|
--without-cxx-main \
|
|
|
|
--without-pymalloc \
|
|
|
|
--with-threads \
|
|
|
|
--prefix=$(STAGING_DIR_HOST)/usr \
|
|
|
|
--with-system-expat=$(STAGING_DIR_HOST) \
|
|
|
|
--prefix=$(STAGING_DIR)/host/usr \
|
|
|
|
--with-system-expat=$(STAGING_DIR)/host \
|
|
|
|
--with-ensurepip=upgrade \
|
|
|
|
CONFIG_SITE= \
|
|
|
|
CFLAGS="$(HOST_CFLAGS)" |
|
|
|
|
|
|
|
define Host/Install |
|
|
|
$(INSTALL_DIR) $(STAGING_DIR_HOST)/bin/ |
|
|
|
$(INSTALL_DIR) $(STAGING_DIR)/host/bin/ |
|
|
|
$(MAKE) -C $(HOST_BUILD_DIR) install |
|
|
|
$(INSTALL_BIN) $(HOST_BUILD_DIR)/Parser/pgen $(STAGING_DIR_HOST)/bin/pgen2 |
|
|
|
$(INSTALL_BIN) $(HOST_BUILD_DIR)/Parser/pgen $(STAGING_DIR)/host/bin/pgen2 |
|
|
|
endef |
|
|
|
|
|
|
|
$(eval $(call HostBuild)) |
|
|
|