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)
|
2018-08-11 20:55:19 +02:00
|
|
|
# We intentionally don't pass --with-openssl, otherwise pkg-config is
|
|
|
|
# not used, and indirect libraries are not picked up when static
|
|
|
|
# linking.
|
|
|
|
IPERF3_DEPENDENCIES += host-pkgconf openssl
|
2018-08-06 21:01:04 +02:00
|
|
|
else
|
|
|
|
IPERF3_CONF_OPTS += --without-openssl
|
|
|
|
endif
|
|
|
|
|
2014-12-17 13:59:05 +01:00
|
|
|
$(eval $(autotools-package))
|