diff options
author | Jackie Huang <jackie.huang@windriver.com> | 2016-08-24 17:07:00 +0800 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2016-09-05 13:30:49 +0200 |
commit | 07539fb9cd7a83bdbb37f1c785eb4c4c1ce7908a (patch) | |
tree | dd8fced8da4ef374766ff01079b02712728c887c /meta-oe/recipes-benchmark | |
parent | ad30a261094c858b2f91a48165e56cd8c38bb1a6 (diff) | |
download | meta-openembedded-07539fb9cd7a83bdbb37f1c785eb4c4c1ce7908a.tar.gz |
iperf: control ipv6 support based on DISTRO_FEATURES
Add PACKAGECONFIG for ipv6 and control it based
on DISTRO_FEATURES.
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-benchmark')
-rw-r--r-- | meta-oe/recipes-benchmark/iperf/iperf_2.0.5.bb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-oe/recipes-benchmark/iperf/iperf_2.0.5.bb b/meta-oe/recipes-benchmark/iperf/iperf_2.0.5.bb index a9e0d8729..9981d8275 100644 --- a/meta-oe/recipes-benchmark/iperf/iperf_2.0.5.bb +++ b/meta-oe/recipes-benchmark/iperf/iperf_2.0.5.bb | |||
@@ -18,3 +18,6 @@ S = "${WORKDIR}/${BP}" | |||
18 | inherit autotools pkgconfig | 18 | inherit autotools pkgconfig |
19 | 19 | ||
20 | EXTRA_OECONF = "--exec-prefix=${STAGING_DIR_HOST}${layout_exec_prefix}" | 20 | EXTRA_OECONF = "--exec-prefix=${STAGING_DIR_HOST}${layout_exec_prefix}" |
21 | |||
22 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'ipv6', '', d)}" | ||
23 | PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," | ||