mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-27 07:57:27 +00:00
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>
This commit is contained in:
committed by
Joe MacDonald
parent
823570b4cf
commit
23b7656cc8
@@ -46,7 +46,9 @@ USERADD_PARAM_${PN} = "--system --home-dir ${NTP_USER_HOME} \
|
|||||||
--shell /bin/false --user-group ntp"
|
--shell /bin/false --user-group ntp"
|
||||||
|
|
||||||
# NB: debug is default-enabled by NTP; keep it default-enabled here.
|
# NB: debug is default-enabled by NTP; keep it default-enabled here.
|
||||||
PACKAGECONFIG ??= "cap debug refclocks"
|
PACKAGECONFIG ??= "cap debug refclocks \
|
||||||
|
${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'ipv6', '', d)} \
|
||||||
|
"
|
||||||
PACKAGECONFIG[openssl] = "--with-openssl-libdir=${STAGING_LIBDIR} \
|
PACKAGECONFIG[openssl] = "--with-openssl-libdir=${STAGING_LIBDIR} \
|
||||||
--with-openssl-incdir=${STAGING_INCDIR} \
|
--with-openssl-incdir=${STAGING_INCDIR} \
|
||||||
--with-crypto, \
|
--with-crypto, \
|
||||||
@@ -57,6 +59,7 @@ PACKAGECONFIG[readline] = "--with-lineeditlibs,--without-lineeditlibs,readline"
|
|||||||
PACKAGECONFIG[refclocks] = "--enable-all-clocks,--disable-all-clocks,pps-tools"
|
PACKAGECONFIG[refclocks] = "--enable-all-clocks,--disable-all-clocks,pps-tools"
|
||||||
PACKAGECONFIG[debug] = "--enable-debugging,--disable-debugging"
|
PACKAGECONFIG[debug] = "--enable-debugging,--disable-debugging"
|
||||||
PACKAGECONFIG[mdns] = "ac_cv_header_dns_sd_h=yes,ac_cv_header_dns_sd_h=no,mdns"
|
PACKAGECONFIG[mdns] = "ac_cv_header_dns_sd_h=yes,ac_cv_header_dns_sd_h=no,mdns"
|
||||||
|
PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
|
||||||
|
|
||||||
do_install_append() {
|
do_install_append() {
|
||||||
install -d ${D}${sysconfdir}/init.d
|
install -d ${D}${sysconfdir}/init.d
|
||||||
|
|||||||
Reference in New Issue
Block a user