[oe] [PATCH] iperf3: Add native support

Mike Looijmans mike.looijmans at topic.nl
Mon Jan 26 08:42:53 UTC 2015


If you want to use iperf3 to measure your board's IP performance, you
may also want to compile if for the build host, because unlike iperf,
iperf3 isn't readily available as a standard Ubuntu package for example.

Add a BBCLASSEXTEND="native" to the recipe so that you just can build
iperf3-native and have bitbake compile it for you, instead of having to
download, compile and install it manually on the build machine.

Signed-off-by: Mike Looijmans <mike.looijmans at topic.nl>
---
 meta-oe/recipes-benchmark/iperf3/iperf3_git.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-oe/recipes-benchmark/iperf3/iperf3_git.bb b/meta-oe/recipes-benchmark/iperf3/iperf3_git.bb
index d34eb69..b4d2b61 100644
--- a/meta-oe/recipes-benchmark/iperf3/iperf3_git.bb
+++ b/meta-oe/recipes-benchmark/iperf3/iperf3_git.bb
@@ -23,3 +23,4 @@ SRCREV = "de420cc741dd8967ebc57f80b7712556442de81b"
 S = "${WORKDIR}/git"
 
 inherit autotools
+BBCLASSEXTEND = "native"
-- 
1.9.1




More information about the Openembedded-devel mailing list