diff options
-rw-r--r-- | meta-oe/recipes-benchmark/iperf3/iperf3/0002-Remove-pg-from-profile_CFLAGS.patch | 15 | ||||
-rw-r--r-- | meta-oe/recipes-benchmark/iperf3/iperf3/automake-foreign.patch | 17 | ||||
-rw-r--r-- | meta-oe/recipes-benchmark/iperf3/iperf3_3.7.bb (renamed from meta-oe/recipes-benchmark/iperf3/iperf3_3.6.bb) | 5 |
3 files changed, 10 insertions, 27 deletions
diff --git a/meta-oe/recipes-benchmark/iperf3/iperf3/0002-Remove-pg-from-profile_CFLAGS.patch b/meta-oe/recipes-benchmark/iperf3/iperf3/0002-Remove-pg-from-profile_CFLAGS.patch index 06eb41ac0e..959e29389c 100644 --- a/meta-oe/recipes-benchmark/iperf3/iperf3/0002-Remove-pg-from-profile_CFLAGS.patch +++ b/meta-oe/recipes-benchmark/iperf3/iperf3/0002-Remove-pg-from-profile_CFLAGS.patch | |||
@@ -1,31 +1,32 @@ | |||
1 | From 6db0e28f906bc3784019dfb5bb011237a8034fda Mon Sep 17 00:00:00 2001 | 1 | From 3ae408402635ea21ad90cd722c99ae3334376c91 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Fri, 14 Jul 2017 13:00:16 -0700 | 3 | Date: Fri, 14 Jul 2017 13:00:16 -0700 |
4 | Subject: [PATCH 2/2] Remove -pg from profile_CFLAGS | 4 | Subject: [PATCH] Remove -pg from profile_CFLAGS |
5 | 5 | ||
6 | musl fails to link with missing gcrt1.o | 6 | musl fails to link with missing gcrt1.o |
7 | 7 | ||
8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
9 | Signed-off-by: Mingli Yu <mingli.yu@windriver.com> | ||
9 | --- | 10 | --- |
10 | src/Makefile.am | 4 ++-- | 11 | src/Makefile.am | 4 ++-- |
11 | 1 file changed, 2 insertions(+), 2 deletions(-) | 12 | 1 file changed, 2 insertions(+), 2 deletions(-) |
12 | 13 | ||
13 | diff --git a/src/Makefile.am b/src/Makefile.am | 14 | diff --git a/src/Makefile.am b/src/Makefile.am |
14 | index 23b0c72..6268145 100644 | 15 | index 5be8562..3881aa6 100644 |
15 | --- a/src/Makefile.am | 16 | --- a/src/Makefile.am |
16 | +++ b/src/Makefile.am | 17 | +++ b/src/Makefile.am |
17 | @@ -49,9 +49,9 @@ iperf3_LDFLAGS = -g | 18 | @@ -58,9 +58,9 @@ if ENABLE_PROFILING |
18 | iperf3_profile_SOURCES = main.c \ | 19 | iperf3_profile_SOURCES = main.c \ |
19 | $(libiperf_la_SOURCES) | 20 | $(libiperf_la_SOURCES) |
20 | 21 | ||
21 | -iperf3_profile_CFLAGS = -pg -g | 22 | -iperf3_profile_CFLAGS = -pg -g |
22 | +iperf3_profile_CFLAGS = -g | 23 | +iperf3_profile_CFLAGS = -g |
23 | iperf3_profile_LDADD = libiperf.la | 24 | iperf3_profile_LDADD = libiperf.la |
24 | -iperf3_profile_LDFLAGS = -pg -g | 25 | -iperf3_profile_LDFLAGS = -pg -g |
25 | +iperf3_profile_LDFLAGS = -g | 26 | +iperf3_profile_LDFLAGS = -g |
27 | endif | ||
26 | 28 | ||
27 | # Specify the sources and various flags for the test cases | 29 | # Specify the sources and various flags for the test cases |
28 | t_timer_SOURCES = t_timer.c | ||
29 | -- | 30 | -- |
30 | 2.13.3 | 31 | 2.21.0 |
31 | 32 | ||
diff --git a/meta-oe/recipes-benchmark/iperf3/iperf3/automake-foreign.patch b/meta-oe/recipes-benchmark/iperf3/iperf3/automake-foreign.patch deleted file mode 100644 index 06c394e5c5..0000000000 --- a/meta-oe/recipes-benchmark/iperf3/iperf3/automake-foreign.patch +++ /dev/null | |||
@@ -1,17 +0,0 @@ | |||
1 | Pass the 'foreign' option to automake to enable iperf3 to build. | ||
2 | |||
3 | Upstream-Status: Inappropriate [configuration] | ||
4 | |||
5 | Signed-off-by: Chunrong Guo <b40290@freescale.com> | ||
6 | |||
7 | --- a/configure.ac 2015-10-19 02:49:30.471867352 -0500 | ||
8 | +++ b/configure.ac 2015-10-19 02:46:36.207873572 -0500 | ||
9 | @@ -33,7 +33,7 @@ | ||
10 | |||
11 | |||
12 | # Initialize the automake system | ||
13 | -AM_INIT_AUTOMAKE | ||
14 | +AM_INIT_AUTOMAKE([foreign]) | ||
15 | AM_MAINTAINER_MODE | ||
16 | AM_CONFIG_HEADER(src/iperf_config.h) | ||
17 | |||
diff --git a/meta-oe/recipes-benchmark/iperf3/iperf3_3.6.bb b/meta-oe/recipes-benchmark/iperf3/iperf3_3.7.bb index 4e11d8233c..6686a814fd 100644 --- a/meta-oe/recipes-benchmark/iperf3/iperf3_3.6.bb +++ b/meta-oe/recipes-benchmark/iperf3/iperf3_3.7.bb | |||
@@ -9,16 +9,15 @@ SECTION = "console/network" | |||
9 | BUGTRACKER = "https://github.com/esnet/iperf/issues" | 9 | BUGTRACKER = "https://github.com/esnet/iperf/issues" |
10 | AUTHOR = "ESNET <info@es.net>, Lawrence Berkeley National Laboratory <websupport@lbl.gov>" | 10 | AUTHOR = "ESNET <info@es.net>, Lawrence Berkeley National Laboratory <websupport@lbl.gov>" |
11 | LICENSE = "BSD" | 11 | LICENSE = "BSD" |
12 | LIC_FILES_CHKSUM = "file://LICENSE;md5=a9a036136b748453e839c0eb8906ef2e" | 12 | LIC_FILES_CHKSUM = "file://LICENSE;md5=f9088fe7ffdccd042f7645f1012d7f70" |
13 | 13 | ||
14 | DEPENDS = "openssl" | 14 | DEPENDS = "openssl" |
15 | 15 | ||
16 | SRC_URI = "git://github.com/esnet/iperf.git \ | 16 | SRC_URI = "git://github.com/esnet/iperf.git \ |
17 | file://automake-foreign.patch \ | ||
18 | file://0002-Remove-pg-from-profile_CFLAGS.patch \ | 17 | file://0002-Remove-pg-from-profile_CFLAGS.patch \ |
19 | " | 18 | " |
20 | 19 | ||
21 | SRCREV = "88f3ad87f38762081a6d7127890ff5c3a052b06a" | 20 | SRCREV = "dfcea9f6a09ead01089a3c9d20c7032f2c0af2c1" |
22 | 21 | ||
23 | S = "${WORKDIR}/git" | 22 | S = "${WORKDIR}/git" |
24 | 23 | ||