![Matt Weber](/assets/img/avatar_default.png)
- Dropped musl and profiling patches as they were incorporated upstream. - Profiling is set as explicitly disabled as it can now be configured. - License file hash is changed due to an update in the copyright year: -"iperf, Copyright (c) 2014-2018, The Regents of the University of California, +"iperf, Copyright (c) 2014-2019, The Regents of the University of California, Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
27 lines
776 B
Makefile
27 lines
776 B
Makefile
################################################################################
|
|
#
|
|
# iperf3
|
|
#
|
|
################################################################################
|
|
|
|
IPERF3_VERSION = 3.7
|
|
IPERF3_SITE = https://downloads.es.net/pub/iperf
|
|
IPERF3_SOURCE = iperf-$(IPERF3_VERSION).tar.gz
|
|
IPERF3_LICENSE = BSD-3-Clause, BSD-2-Clause, MIT
|
|
IPERF3_LICENSE_FILES = LICENSE
|
|
|
|
IPERF3_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -D_GNU_SOURCE"
|
|
|
|
IPERF3_CONF_OPTS += --disable-profiling
|
|
|
|
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
|
# 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
|
|
else
|
|
IPERF3_CONF_OPTS += --without-openssl
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|