1 ################################################################################
5 ################################################################################
7 NETPERF_VERSION
= 2.7.0
8 NETPERF_SITE
= ftp
://ftp.netperf.org
/netperf
9 NETPERF_SOURCE
= netperf-
$(NETPERF_VERSION
).
tar.bz2
10 # gcc 5+ defaults to gnu99 which breaks netperf
12 ac_cv_func_setpgrp_void
=set \
13 CFLAGS
="$(TARGET_CFLAGS) -std=gnu89"
14 NETPERF_CONF_OPTS
= --enable-demo
=yes
15 NETPERF_LICENSE
= netperf license
16 NETPERF_LICENSE_FILES
= COPYING
18 define NETPERF_INSTALL_TARGET_CMDS
19 $(INSTALL
) -m
0755 $(@D
)/src
/netperf \
20 $(TARGET_DIR
)/usr
/bin
/netperf
21 $(INSTALL
) -m
0755 $(@D
)/src
/netserver \
22 $(TARGET_DIR
)/usr
/bin
/netserver
25 $(eval
$(autotools-package
))