300f9c9c9d
Thanks to the pkgparentdir and pkgname functions, we can rewrite the AUTOTARGETS macro in a way that avoids the need for each package to repeat its name and the directory in which it is present. [Peter: pkgdir->pkgparentdir] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
25 lines
563 B
Makefile
25 lines
563 B
Makefile
#############################################################
|
|
#
|
|
# iperf
|
|
#
|
|
#############################################################
|
|
IPERF_VERSION = 2.0.5
|
|
IPERF_SOURCE = iperf-$(IPERF_VERSION).tar.gz
|
|
IPERF_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/iperf
|
|
|
|
IPERF_AUTORECONF = NO
|
|
|
|
IPERF_INSTALL_STAGING = NO
|
|
IPERF_INSTALL_TARGET = YES
|
|
|
|
IPERF_CONF_ENV = \
|
|
ac_cv_func_malloc_0_nonnull=yes \
|
|
ac_cv_type_bool=yes \
|
|
ac_cv_sizeof_bool=1
|
|
|
|
IPERF_CONF_OPT = \
|
|
--disable-dependency-tracking \
|
|
--disable-web100
|
|
|
|
$(eval $(call AUTOTARGETS))
|