initial buildroot for linux 5.15

This commit is contained in:
Huan.Feng
2021-12-06 14:12:13 +08:00
parent d7767d594e
commit 7b6fc358fa
12736 changed files with 508822 additions and 0 deletions
@@ -0,0 +1,42 @@
From b2fd0f324002d0cf52ae905b2a469bf1067f182a Mon Sep 17 00:00:00 2001
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Date: Sat, 5 Sep 2020 14:30:20 +0200
Subject: [PATCH] src/nettest_omni.c: fix compilation with GCC10
GCC10 defaults to -fno-common, which breaks compilation when there are
multiple definitions of implicit "extern" variables. Remove the extra
definitions.
Fix #42
Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
[Retrieved from:
https://github.com/openwrt/packages/blob/master/net/netperf/patches/010-gcc10_multiple_definition_fix.patch]
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[Upstream status: https://github.com/HewlettPackard/netperf/pull/48]
---
src/nettest_omni.c | 8 --------
1 file changed, 8 deletions(-)
diff --git a/src/nettest_omni.c b/src/nettest_omni.c
index 852eeb1..862088a 100644
--- a/src/nettest_omni.c
+++ b/src/nettest_omni.c
@@ -458,14 +458,6 @@ static int client_port_max = 65535;
/* different options for the sockets */
-int
- loc_nodelay, /* don't/do use NODELAY locally */
- rem_nodelay, /* don't/do use NODELAY remotely */
- loc_sndavoid, /* avoid send copies locally */
- loc_rcvavoid, /* avoid recv copies locally */
- rem_sndavoid, /* avoid send copies remotely */
- rem_rcvavoid; /* avoid recv_copies remotely */
-
extern int
loc_tcpcork,
rem_tcpcork,
--
2.28.0
+6
View File
@@ -0,0 +1,6 @@
config BR2_PACKAGE_NETPERF
bool "netperf"
help
Network performance benchmark tool
https://hewlettpackard.github.io/netperf/
+3
View File
@@ -0,0 +1,3 @@
# Locally calculated
sha256 842af17655835c8be7203808c3393e6cb327a8067f3ed1f1053eb78b4e40375a netperf-2.7.0.tar.bz2
sha256 dc874b3047b6259336431e813961fb6c5945561c6ad7a732aa8531a3c6b1a9fa COPYING
+25
View File
@@ -0,0 +1,25 @@
################################################################################
#
# netperf
#
################################################################################
NETPERF_VERSION = 2.7.0
NETPERF_SITE = http://sources.buildroot.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))