diff options
author | Jackie Huang <jackie.huang@windriver.com> | 2016-08-24 17:06:53 +0800 |
---|---|---|
committer | Joe MacDonald <joe_macdonald@mentor.com> | 2016-09-05 13:34:12 -0400 |
commit | 23b7656cc8028bf3b2854f7127cceea125ba3c54 (patch) | |
tree | 40b2ae161f0e54c89de7cb0ef1133e3cf4a9fe1f /meta-networking/recipes-support/ntp | |
parent | 823570b4cf804302a413cd25cd762252d84e0e4c (diff) | |
download | meta-openembedded-23b7656cc8028bf3b2854f7127cceea125ba3c54.tar.gz |
ntp: 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-support/ntp')
-rw-r--r-- | meta-networking/recipes-support/ntp/ntp_4.2.8p8.bb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/meta-networking/recipes-support/ntp/ntp_4.2.8p8.bb b/meta-networking/recipes-support/ntp/ntp_4.2.8p8.bb index bca5a0745..f3344c0b5 100644 --- a/meta-networking/recipes-support/ntp/ntp_4.2.8p8.bb +++ b/meta-networking/recipes-support/ntp/ntp_4.2.8p8.bb | |||
@@ -46,7 +46,9 @@ USERADD_PARAM_${PN} = "--system --home-dir ${NTP_USER_HOME} \ | |||
46 | --shell /bin/false --user-group ntp" | 46 | --shell /bin/false --user-group ntp" |
47 | 47 | ||
48 | # NB: debug is default-enabled by NTP; keep it default-enabled here. | 48 | # NB: debug is default-enabled by NTP; keep it default-enabled here. |
49 | PACKAGECONFIG ??= "cap debug refclocks" | 49 | PACKAGECONFIG ??= "cap debug refclocks \ |
50 | ${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'ipv6', '', d)} \ | ||
51 | " | ||
50 | PACKAGECONFIG[openssl] = "--with-openssl-libdir=${STAGING_LIBDIR} \ | 52 | PACKAGECONFIG[openssl] = "--with-openssl-libdir=${STAGING_LIBDIR} \ |
51 | --with-openssl-incdir=${STAGING_INCDIR} \ | 53 | --with-openssl-incdir=${STAGING_INCDIR} \ |
52 | --with-crypto, \ | 54 | --with-crypto, \ |
@@ -57,6 +59,7 @@ PACKAGECONFIG[readline] = "--with-lineeditlibs,--without-lineeditlibs,readline" | |||
57 | PACKAGECONFIG[refclocks] = "--enable-all-clocks,--disable-all-clocks,pps-tools" | 59 | PACKAGECONFIG[refclocks] = "--enable-all-clocks,--disable-all-clocks,pps-tools" |
58 | PACKAGECONFIG[debug] = "--enable-debugging,--disable-debugging" | 60 | PACKAGECONFIG[debug] = "--enable-debugging,--disable-debugging" |
59 | PACKAGECONFIG[mdns] = "ac_cv_header_dns_sd_h=yes,ac_cv_header_dns_sd_h=no,mdns" | 61 | PACKAGECONFIG[mdns] = "ac_cv_header_dns_sd_h=yes,ac_cv_header_dns_sd_h=no,mdns" |
62 | PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," | ||
60 | 63 | ||
61 | do_install_append() { | 64 | do_install_append() { |
62 | install -d ${D}${sysconfdir}/init.d | 65 | install -d ${D}${sysconfdir}/init.d |