2014-12-17 13:59:05 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# iperf3
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2018-08-06 21:01:04 +02:00
|
|
|
IPERF3_VERSION = 3.6
|
|
|
|
IPERF3_SITE = https://downloads.es.net/pub/iperf
|
2016-06-10 00:17:05 +02:00
|
|
|
IPERF3_SOURCE = iperf-$(IPERF3_VERSION).tar.gz
|
2017-03-30 15:43:39 +02:00
|
|
|
IPERF3_LICENSE = BSD-3-Clause, BSD-2-Clause, MIT
|
2014-12-17 13:59:05 +01:00
|
|
|
IPERF3_LICENSE_FILES = LICENSE
|
|
|
|
|
2016-01-30 19:27:56 +01:00
|
|
|
IPERF3_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -D_GNU_SOURCE"
|
|
|
|
|
2018-08-06 21:01:04 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
|
|
|
IPERF3_CONF_OPTS += --with-openssl=$(STAGING_DIR)/usr
|
|
|
|
IPERF3_DEPENDENCIES += openssl
|
|
|
|
else
|
|
|
|
IPERF3_CONF_OPTS += --without-openssl
|
|
|
|
endif
|
|
|
|
|
2014-12-17 13:59:05 +01:00
|
|
|
$(eval $(autotools-package))
|