1 #############################################################
5 #############################################################
8 WGET_SITE
= $(BR2_GNU_MIRROR
)/wget
10 # Prefer full-blown wget over busybox
11 ifeq ($(BR2_PACKAGE_BUSYBOX
),y
)
12 WGET_DEPENDENCIES
+= busybox
15 ifeq ($(BR2_PACKAGE_GNUTLS
),y
)
16 WGET_CONF_OPT
+= --with-ssl
=gnutls \
17 --with-libgnutls-prefix
=$(STAGING_DIR
)
18 WGET_DEPENDENCIES
+= gnutls
21 ifeq ($(BR2_PACKAGE_OPENSSL
),y
)
22 WGET_CONF_OPT
+= --with-ssl
=openssl
--with-libssl-prefix
=$(STAGING_DIR
)
23 WGET_DEPENDENCIES
+= openssl
26 # --with-ssl is default
27 ifneq ($(BR2_PACKAGE_GNUTLS
),y
)
28 ifneq ($(BR2_PACKAGE_OPENSSL
),y
)
29 WGET_CONF_OPT
+= --without-ssl
33 $(eval
$(call AUTOTARGETS
))