aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-daemons/tftp-hpa
diff options
context:
space:
mode:
authorJackie Huang <jackie.huang@windriver.com>2016-08-24 17:06:56 +0800
committerJoe MacDonald <joe_macdonald@mentor.com>2016-09-05 13:34:12 -0400
commit513ae03ae27d3a53eed6c112aecfb57ec8d450f0 (patch)
tree54c7295134973f064ff1a538a754dfd34d50aec3 /meta-networking/recipes-daemons/tftp-hpa
parentbbba35e8cddf4568423b809a792beed1ebcbadd8 (diff)
downloadmeta-openembedded-513ae03ae27d3a53eed6c112aecfb57ec8d450f0.tar.gz
meta-openembedded-513ae03ae27d3a53eed6c112aecfb57ec8d450f0.tar.bz2
meta-openembedded-513ae03ae27d3a53eed6c112aecfb57ec8d450f0.zip
tftp-hpa: 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> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'meta-networking/recipes-daemons/tftp-hpa')
-rw-r--r--meta-networking/recipes-daemons/tftp-hpa/tftp-hpa_5.2.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-networking/recipes-daemons/tftp-hpa/tftp-hpa_5.2.bb b/meta-networking/recipes-daemons/tftp-hpa/tftp-hpa_5.2.bb
index 98842e4e9..115fa2ece 100644
--- a/meta-networking/recipes-daemons/tftp-hpa/tftp-hpa_5.2.bb
+++ b/meta-networking/recipes-daemons/tftp-hpa/tftp-hpa_5.2.bb
@@ -37,6 +37,9 @@ export AR = "${HOST_PREFIX}ar cq"
EXTRA_OECONF += "--disable-option-checking"
+PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'ipv6', '', d)}"
+PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
+
# configure.in has errors
do_configure() {
oe_runconf