Changeset 14571


Ignorieren:
Zeitstempel:
03.12.2017 21:56:01 (vor 12 Tagen)
Autor:
Whoopie
Nachricht:

curl: add SFTP support

Ort:
trunk/make/curl
Dateien:
2 bearbeitet

Legende:

Unverändert
Hinzugefügt
Entfernt
  • trunk/make/curl/Config.in.libs

    r14418 r14571  
    77    select FREETZ_LIB_libmbedtls    if FREETZ_LIB_libcurl_WITH_SSL && FREETZ_LIB_libcurl_WITH_MBEDTLS 
    88    select FREETZ_LIB_libmbedx509   if FREETZ_LIB_libcurl_WITH_SSL && FREETZ_LIB_libcurl_WITH_MBEDTLS 
     9    select FREETZ_LIB_libssh2       if FREETZ_LIB_libcurl_WITH_SFTP 
    910    select FREETZ_LIB_libz          if FREETZ_LIB_libcurl_WITH_ZLIB 
    1011    help 
     
    3536endchoice 
    3637 
     38config FREETZ_LIB_libcurl_WITH_SFTP 
     39    bool "build with sftp support" if FREETZ_LIB_libcurl || FREETZ_PACKAGE_CURL 
     40    default n 
     41    help 
     42        This option enables sftp support in curl. 
     43 
    3744config FREETZ_LIB_libcurl_WITH_ZLIB 
    3845    bool "build with zlib support" if FREETZ_LIB_libcurl || FREETZ_PACKAGE_CURL 
  • trunk/make/curl/curl.mk

    r14488 r14571  
    2121$(PKG)_DEPENDS_ON += mbedtls 
    2222endif 
     23ifeq ($(strip $(FREETZ_LIB_libcurl_WITH_SFTP)),y) 
     24$(PKG)_DEPENDS_ON += libssh2 
     25endif 
    2326ifeq ($(strip $(FREETZ_LIB_libcurl_WITH_ZLIB)),y) 
    2427$(PKG)_DEPENDS_ON += zlib 
     
    3134$(PKG)_REBUILD_SUBOPTS += FREETZ_LIB_libcurl_WITH_POLARSSL 
    3235$(PKG)_REBUILD_SUBOPTS += FREETZ_LIB_libcurl_WITH_MBEDTLS 
     36$(PKG)_REBUILD_SUBOPTS += FREETZ_LIB_libcurl_WITH_SFTP 
    3337$(PKG)_REBUILD_SUBOPTS += FREETZ_LIB_libcurl_WITH_ZLIB 
    3438$(PKG)_REBUILD_SUBOPTS += FREETZ_PACKAGE_CURL_STATIC 
     
    8892$(PKG)_CONFIGURE_OPTIONS += --without-libmetalink 
    8993$(PKG)_CONFIGURE_OPTIONS += --without-librtmp 
    90 $(PKG)_CONFIGURE_OPTIONS += --without-libssh2 
    9194$(PKG)_CONFIGURE_OPTIONS += --without-nghttp2 
     95$(PKG)_CONFIGURE_OPTIONS += $(if $(FREETZ_LIB_libcurl_WITH_SFTP),--with-libssh2="$(TARGET_TOOLCHAIN_STAGING_DIR)/usr",--without-libssh2) 
    9296$(PKG)_CONFIGURE_OPTIONS += $(if $(FREETZ_LIB_libcurl_WITH_ZLIB),--with-zlib="$(TARGET_TOOLCHAIN_STAGING_DIR)/usr",--without-zlib) 
    9397 
Hinweis: Hilfe zur Verwendung der Changeset-Ansicht finden Sie unter TracChangeset.