X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/ebd96b67234eec425fa6707b687440ba2fc1d485..24b8a250a086c6aa696fa6508b564ba02c37ea0d:/package/opkg/Makefile diff --git a/package/opkg/Makefile b/package/opkg/Makefile index 3a5ba449f..442f90cd1 100644 --- a/package/opkg/Makefile +++ b/package/opkg/Makefile @@ -81,10 +81,10 @@ define Build/InstallDev $(CP) $(PKG_INSTALL_DIR)/usr/include/libopkg $(1)/usr/include/ endef -$(eval $(call BuildPackage,opkg)) +HOST_BUILD_DEPENDS:=libtool/host -HOST_CONFIGURE_ARGS += \ +HOST_CONFIGURE_ARGS+= \ --disable-curl \ --disable-gpg \ --with-opkgetcdir=/etc \ @@ -92,7 +92,7 @@ HOST_CONFIGURE_ARGS += \ define Host/Configure (cd $(HOST_BUILD_DIR); autoreconf -v --install || exit 1) - $(call Host/Configure/Default) + $(call Host/Configure/Default) endef define Host/Compile @@ -103,4 +103,5 @@ define Host/Install $(INSTALL_BIN) $(HOST_BUILD_DIR)/src/opkg-cl $(STAGING_DIR_HOST)/bin/opkg endef +$(eval $(call BuildPackage,opkg)) $(eval $(call HostBuild))