summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-benchmark
diff options
context:
space:
mode:
authorChunrong Guo <B40290@freescale.com>2015-10-19 16:43:06 +0800
committerMartin Jansa <Martin.Jansa@gmail.com>2015-10-23 12:53:24 +0200
commit21fe8a55f6c03fa8218d2edd36699554c1e29809 (patch)
treecbd1e6aa24fd704084f514408a31f4e46df69822 /meta-oe/recipes-benchmark
parente44f49baac8af78cff254b1fd82054d412e94211 (diff)
downloadmeta-openembedded-21fe8a55f6c03fa8218d2edd36699554c1e29809.tar.gz
iperf3 :upgrade to 3.1
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-benchmark')
-rw-r--r--meta-oe/recipes-benchmark/iperf3/iperf3/automake-foreign.patch14
-rw-r--r--meta-oe/recipes-benchmark/iperf3/iperf3/fix-examples.patch107
-rw-r--r--meta-oe/recipes-benchmark/iperf3/iperf3_git.bb9
3 files changed, 10 insertions, 120 deletions
diff --git a/meta-oe/recipes-benchmark/iperf3/iperf3/automake-foreign.patch b/meta-oe/recipes-benchmark/iperf3/iperf3/automake-foreign.patch
index a27b61e01..06c394e5c 100644
--- a/meta-oe/recipes-benchmark/iperf3/iperf3/automake-foreign.patch
+++ b/meta-oe/recipes-benchmark/iperf3/iperf3/automake-foreign.patch
@@ -2,18 +2,16 @@ Pass the 'foreign' option to automake to enable iperf3 to build.
2 2
3Upstream-Status: Inappropriate [configuration] 3Upstream-Status: Inappropriate [configuration]
4 4
5Signed-off-by: Ben Shelton <ben.shelton@ni.com> 5Signed-off-by: Chunrong Guo <b40290@freescale.com>
6---
7 6
8diff -rupN iperf-3.0.10.old/configure.ac iperf-3.0.10/configure.ac 7--- a/configure.ac 2015-10-19 02:49:30.471867352 -0500
9--- iperf-3.0.10.old/configure.ac 2014-12-16 13:39:58.000000000 -0600 8+++ b/configure.ac 2015-10-19 02:46:36.207873572 -0500
10+++ iperf-3.0.10/configure.ac 2014-12-29 15:09:27.534992643 -0600 9@@ -33,7 +33,7 @@
11@@ -32,7 +32,7 @@ AC_CONFIG_AUX_DIR(config)
12 10
13 11
14 # Initialize the automake system 12 # Initialize the automake system
15-AM_INIT_AUTOMAKE 13-AM_INIT_AUTOMAKE
16+AM_INIT_AUTOMAKE([foreign]) 14+AM_INIT_AUTOMAKE([foreign])
17
18 AM_MAINTAINER_MODE 15 AM_MAINTAINER_MODE
19 AM_CONFIG_HEADER(src/config.h) 16 AM_CONFIG_HEADER(src/iperf_config.h)
17
diff --git a/meta-oe/recipes-benchmark/iperf3/iperf3/fix-examples.patch b/meta-oe/recipes-benchmark/iperf3/iperf3/fix-examples.patch
deleted file mode 100644
index 445570dd4..000000000
--- a/meta-oe/recipes-benchmark/iperf3/iperf3/fix-examples.patch
+++ /dev/null
@@ -1,107 +0,0 @@
1The Makefiles for the examples only work properly when the build is
2done in the same directory as the source. Fix this in Makefile.am and
3run bootstrap.sh to regenerate Makefile.in.
4
5Upstream-Status: Pending [iperf-dev@googlegroups.com]
6
7Signed-off-by: Ben Shelton <ben.shelton@ni.com>
8---
9
10diff -rupN iperf-3.0.10.old/examples/Makefile.am iperf-3.0.10/examples/Makefile.am
11--- iperf-3.0.10.old/examples/Makefile.am 2014-12-16 13:39:58.000000000 -0600
12+++ iperf-3.0.10/examples/Makefile.am 2014-12-29 17:12:02.238979626 -0600
13@@ -2,11 +2,13 @@ noinst_PROGRAMS = mic mis # Build, but
14
15 mic_SOURCES = mic.c
16 mic_CFLAGS = -g
17-mic_LDADD = ../src/libiperf.la
18+mic_LDADD = $(top_builddir)/src/libiperf.la
19 mic_LDFLAGS = -g
20+mic_CPPFLAGS = -I$(top_srcdir)/src
21
22 mis_SOURCES = mis.c
23 mis_CFLAGS = -g
24-mis_LDADD = ../src/libiperf.la
25+mis_LDADD = $(top_builddir)/src/libiperf.la
26 mis_LDFLAGS = -g
27+mis_CPPFLAGS = -I$(top_srcdir)/src
28
29diff -rupN iperf-3.0.10.old/examples/Makefile.in iperf-3.0.10/examples/Makefile.in
30--- iperf-3.0.10.old/examples/Makefile.in 2014-12-16 13:39:58.000000000 -0600
31+++ iperf-3.0.10/examples/Makefile.in 2014-12-29 17:12:07.518979616 -0600
32@@ -94,7 +94,7 @@ CONFIG_CLEAN_VPATH_FILES =
33 PROGRAMS = $(noinst_PROGRAMS)
34 am_mic_OBJECTS = mic-mic.$(OBJEXT)
35 mic_OBJECTS = $(am_mic_OBJECTS)
36-mic_DEPENDENCIES = ../src/libiperf.la
37+mic_DEPENDENCIES = $(top_builddir)/src/libiperf.la
38 AM_V_lt = $(am__v_lt_@AM_V@)
39 am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
40 am__v_lt_0 = --silent
41@@ -104,7 +104,7 @@ mic_LINK = $(LIBTOOL) $(AM_V_lt) --tag=C
42 $(mic_LDFLAGS) $(LDFLAGS) -o $@
43 am_mis_OBJECTS = mis-mis.$(OBJEXT)
44 mis_OBJECTS = $(am_mis_OBJECTS)
45-mis_DEPENDENCIES = ../src/libiperf.la
46+mis_DEPENDENCIES = $(top_builddir)/src/libiperf.la
47 mis_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
48 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(mis_CFLAGS) $(CFLAGS) \
49 $(mis_LDFLAGS) $(LDFLAGS) -o $@
50@@ -286,12 +286,14 @@ top_builddir = @top_builddir@
51 top_srcdir = @top_srcdir@
52 mic_SOURCES = mic.c
53 mic_CFLAGS = -g
54-mic_LDADD = ../src/libiperf.la
55+mic_LDADD = $(top_builddir)/src/libiperf.la
56 mic_LDFLAGS = -g
57+mic_CPPFLAGS = -I$(top_srcdir)/src
58 mis_SOURCES = mis.c
59 mis_CFLAGS = -g
60-mis_LDADD = ../src/libiperf.la
61+mis_LDADD = $(top_builddir)/src/libiperf.la
62 mis_LDFLAGS = -g
63+mis_CPPFLAGS = -I$(top_srcdir)/src
64 all: all-am
65
66 .SUFFIXES:
67@@ -375,32 +377,32 @@ distclean-compile:
68 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
69
70 mic-mic.o: mic.c
71-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(mic_CFLAGS) $(CFLAGS) -MT mic-mic.o -MD -MP -MF $(DEPDIR)/mic-mic.Tpo -c -o mic-mic.o `test -f 'mic.c' || echo '$(srcdir)/'`mic.c
72+@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mic_CPPFLAGS) $(CPPFLAGS) $(mic_CFLAGS) $(CFLAGS) -MT mic-mic.o -MD -MP -MF $(DEPDIR)/mic-mic.Tpo -c -o mic-mic.o `test -f 'mic.c' || echo '$(srcdir)/'`mic.c
73 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/mic-mic.Tpo $(DEPDIR)/mic-mic.Po
74 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='mic.c' object='mic-mic.o' libtool=no @AMDEPBACKSLASH@
75 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
76-@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(mic_CFLAGS) $(CFLAGS) -c -o mic-mic.o `test -f 'mic.c' || echo '$(srcdir)/'`mic.c
77+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mic_CPPFLAGS) $(CPPFLAGS) $(mic_CFLAGS) $(CFLAGS) -c -o mic-mic.o `test -f 'mic.c' || echo '$(srcdir)/'`mic.c
78
79 mic-mic.obj: mic.c
80-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(mic_CFLAGS) $(CFLAGS) -MT mic-mic.obj -MD -MP -MF $(DEPDIR)/mic-mic.Tpo -c -o mic-mic.obj `if test -f 'mic.c'; then $(CYGPATH_W) 'mic.c'; else $(CYGPATH_W) '$(srcdir)/mic.c'; fi`
81+@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mic_CPPFLAGS) $(CPPFLAGS) $(mic_CFLAGS) $(CFLAGS) -MT mic-mic.obj -MD -MP -MF $(DEPDIR)/mic-mic.Tpo -c -o mic-mic.obj `if test -f 'mic.c'; then $(CYGPATH_W) 'mic.c'; else $(CYGPATH_W) '$(srcdir)/mic.c'; fi`
82 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/mic-mic.Tpo $(DEPDIR)/mic-mic.Po
83 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='mic.c' object='mic-mic.obj' libtool=no @AMDEPBACKSLASH@
84 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
85-@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(mic_CFLAGS) $(CFLAGS) -c -o mic-mic.obj `if test -f 'mic.c'; then $(CYGPATH_W) 'mic.c'; else $(CYGPATH_W) '$(srcdir)/mic.c'; fi`
86+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mic_CPPFLAGS) $(CPPFLAGS) $(mic_CFLAGS) $(CFLAGS) -c -o mic-mic.obj `if test -f 'mic.c'; then $(CYGPATH_W) 'mic.c'; else $(CYGPATH_W) '$(srcdir)/mic.c'; fi`
87
88 mis-mis.o: mis.c
89-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(mis_CFLAGS) $(CFLAGS) -MT mis-mis.o -MD -MP -MF $(DEPDIR)/mis-mis.Tpo -c -o mis-mis.o `test -f 'mis.c' || echo '$(srcdir)/'`mis.c
90+@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mis_CPPFLAGS) $(CPPFLAGS) $(mis_CFLAGS) $(CFLAGS) -MT mis-mis.o -MD -MP -MF $(DEPDIR)/mis-mis.Tpo -c -o mis-mis.o `test -f 'mis.c' || echo '$(srcdir)/'`mis.c
91 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/mis-mis.Tpo $(DEPDIR)/mis-mis.Po
92 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='mis.c' object='mis-mis.o' libtool=no @AMDEPBACKSLASH@
93 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
94-@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(mis_CFLAGS) $(CFLAGS) -c -o mis-mis.o `test -f 'mis.c' || echo '$(srcdir)/'`mis.c
95+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mis_CPPFLAGS) $(CPPFLAGS) $(mis_CFLAGS) $(CFLAGS) -c -o mis-mis.o `test -f 'mis.c' || echo '$(srcdir)/'`mis.c
96
97 mis-mis.obj: mis.c
98-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(mis_CFLAGS) $(CFLAGS) -MT mis-mis.obj -MD -MP -MF $(DEPDIR)/mis-mis.Tpo -c -o mis-mis.obj `if test -f 'mis.c'; then $(CYGPATH_W) 'mis.c'; else $(CYGPATH_W) '$(srcdir)/mis.c'; fi`
99+@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mis_CPPFLAGS) $(CPPFLAGS) $(mis_CFLAGS) $(CFLAGS) -MT mis-mis.obj -MD -MP -MF $(DEPDIR)/mis-mis.Tpo -c -o mis-mis.obj `if test -f 'mis.c'; then $(CYGPATH_W) 'mis.c'; else $(CYGPATH_W) '$(srcdir)/mis.c'; fi`
100 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/mis-mis.Tpo $(DEPDIR)/mis-mis.Po
101 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='mis.c' object='mis-mis.obj' libtool=no @AMDEPBACKSLASH@
102 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
103-@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(mis_CFLAGS) $(CFLAGS) -c -o mis-mis.obj `if test -f 'mis.c'; then $(CYGPATH_W) 'mis.c'; else $(CYGPATH_W) '$(srcdir)/mis.c'; fi`
104+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mis_CPPFLAGS) $(CPPFLAGS) $(mis_CFLAGS) $(CFLAGS) -c -o mis-mis.obj `if test -f 'mis.c'; then $(CYGPATH_W) 'mis.c'; else $(CYGPATH_W) '$(srcdir)/mis.c'; fi`
105
106 mostlyclean-libtool:
107 -rm -f *.lo
diff --git a/meta-oe/recipes-benchmark/iperf3/iperf3_git.bb b/meta-oe/recipes-benchmark/iperf3/iperf3_git.bb
index b4d2b6193..58818bb32 100644
--- a/meta-oe/recipes-benchmark/iperf3/iperf3_git.bb
+++ b/meta-oe/recipes-benchmark/iperf3/iperf3_git.bb
@@ -9,16 +9,15 @@ SECTION = "console/network"
9BUGTRACKER = "https://github.com/esnet/iperf/issues" 9BUGTRACKER = "https://github.com/esnet/iperf/issues"
10AUTHOR = "ESNET <info@es.net>, Lawrence Berkeley National Laboratory <websupport@lbl.gov>" 10AUTHOR = "ESNET <info@es.net>, Lawrence Berkeley National Laboratory <websupport@lbl.gov>"
11LICENSE = "BSD" 11LICENSE = "BSD"
12LIC_FILES_CHKSUM = "file://LICENSE;md5=ab59a0c3a4bc3954d1ece68ea19d77a4" 12LIC_FILES_CHKSUM = "file://LICENSE;md5=062ab1bc33fae1926387ac1274cb0873"
13 13
14SRC_URI = "\ 14SRC_URI = "\
15 git://github.com/esnet/iperf.git;branch=3.0-STABLE \ 15 git://github.com/esnet/iperf.git \
16 file://automake-foreign.patch \ 16 file://automake-foreign.patch \
17 file://fix-examples.patch \
18" 17"
19 18
20PV = "3.0.10+gitr${SRCPV}" 19PV = "3.1+gitr${SRCPV}"
21SRCREV = "de420cc741dd8967ebc57f80b7712556442de81b" 20SRCREV = "e396134952a01199326665d1df7c51ae9e62e945"
22 21
23S = "${WORKDIR}/git" 22S = "${WORKDIR}/git"
24 23