package/uftp: openssl is optional, not mandatory
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
c11aae0e06
commit
340f89403e
@ -3,7 +3,6 @@ config BR2_PACKAGE_UFTP
|
||||
depends on BR2_USE_MMU # fork()
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on BR2_USE_WCHAR
|
||||
select BR2_PACKAGE_OPENSSL
|
||||
help
|
||||
Encrypted UDP based FTP with multicast.
|
||||
|
||||
|
@ -6,11 +6,15 @@
|
||||
|
||||
UFTP_VERSION = 4.9.9
|
||||
UFTP_SITE = http://sourceforge.net/projects/uftp-multicast/files/source-tar
|
||||
UFTP_DEPENDENCIES = host-pkgconf openssl
|
||||
UFTP_LICENSE = GPL-3.0+
|
||||
UFTP_LICENSE_FILES = LICENSE.txt
|
||||
|
||||
UFTP_MAKE_OPTS = CRYPT_LIB="`$(PKG_CONFIG_HOST_BINARY) --libs libssl`"
|
||||
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
||||
UFTP_DEPENDENCIES += host-pkgconf openssl
|
||||
UFTP_MAKE_OPTS += CRYPT_LIB="`$(PKG_CONFIG_HOST_BINARY) --libs libssl`"
|
||||
else
|
||||
UFTP_MAKE_OPTS += NO_ENCRYPTION=1
|
||||
endif
|
||||
|
||||
define UFTP_BUILD_CMDS
|
||||
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) $(UFTP_MAKE_OPTS)
|
||||
|
Loading…
Reference in New Issue
Block a user