mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-27 23:43:34 +08:00
2aa1f9c715
Also add hash file. And work around gcc 5+ defaulting to gnu99, fixes: http://autobuild.buildroot.net/results/077/077714a0ee67057abcff680b244228a409243bbf/ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
26 lines
760 B
Makefile
26 lines
760 B
Makefile
################################################################################
|
|
#
|
|
# netperf
|
|
#
|
|
################################################################################
|
|
|
|
NETPERF_VERSION = 2.7.0
|
|
NETPERF_SITE = ftp://ftp.netperf.org/netperf
|
|
NETPERF_SOURCE = netperf-$(NETPERF_VERSION).tar.bz2
|
|
# gcc 5+ defaults to gnu99 which breaks netperf
|
|
NETPERF_CONF_ENV = \
|
|
ac_cv_func_setpgrp_void=set \
|
|
CFLAGS="$(TARGET_CFLAGS) -std=gnu89"
|
|
NETPERF_CONF_OPTS = --enable-demo=yes
|
|
NETPERF_LICENSE = netperf license
|
|
NETPERF_LICENSE_FILES = COPYING
|
|
|
|
define NETPERF_INSTALL_TARGET_CMDS
|
|
$(INSTALL) -m 0755 $(@D)/src/netperf \
|
|
$(TARGET_DIR)/usr/bin/netperf
|
|
$(INSTALL) -m 0755 $(@D)/src/netserver \
|
|
$(TARGET_DIR)/usr/bin/netserver
|
|
endef
|
|
|
|
$(eval $(autotools-package))
|