1################################################################################ 2# 3# iperf3 4# 5################################################################################ 6 7IPERF3_VERSION = 3.10.1 8IPERF3_SITE = https://downloads.es.net/pub/iperf 9IPERF3_SOURCE = iperf-$(IPERF3_VERSION).tar.gz 10IPERF3_LICENSE = BSD-3-Clause, BSD-2-Clause, MIT 11IPERF3_LICENSE_FILES = LICENSE 12IPERF3_CPE_ID_VENDOR = es 13 14IPERF3_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -D_GNU_SOURCE" 15 16ifeq ($(BR2_PACKAGE_OPENSSL),y) 17# We intentionally don't pass --with-openssl, otherwise pkg-config is 18# not used, and indirect libraries are not picked up when static 19# linking. 20IPERF3_DEPENDENCIES += host-pkgconf openssl 21else 22IPERF3_CONF_OPTS += --without-openssl 23endif 24 25$(eval $(autotools-package)) 26