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