diff options
author | Andre McCurdy <armccurdy@gmail.com> | 2015-05-08 17:52:58 -0700 |
---|---|---|
committer | Joe MacDonald <joe_macdonald@mentor.com> | 2015-05-13 11:57:48 -0400 |
commit | 8da812fbb68a3ecfd7c950e087e97a6ca55fe394 (patch) | |
tree | 08b397751ef61424ed864f85ec863c96db5823ee /meta-networking/recipes-support/ntp | |
parent | 53d55216c8c721d3b66ec8f968737bf081def870 (diff) | |
download | meta-openembedded-8da812fbb68a3ecfd7c950e087e97a6ca55fe394.tar.gz |
ntp: control refclock driver support via PACKAGECONFIG
The default configuration of ntp includes a large number of reference
clock drivers. Provide a PACKAGECONFIG to allow control over whether
or not these refclock drivers are built. Leave enabled by default.
http://doc.ntp.org/4.2.8/refclock.html
Signed-off-by: Andre McCurdy <armccurdy@gmail.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.8p2.bb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/meta-networking/recipes-support/ntp/ntp_4.2.8p2.bb b/meta-networking/recipes-support/ntp/ntp_4.2.8p2.bb index 693bdbbf0..811ec2e1c 100644 --- a/meta-networking/recipes-support/ntp/ntp_4.2.8p2.bb +++ b/meta-networking/recipes-support/ntp/ntp_4.2.8p2.bb | |||
@@ -8,7 +8,7 @@ SECTION = "console/network" | |||
8 | LICENSE = "NTP" | 8 | LICENSE = "NTP" |
9 | LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=f41fedb22dffefcbfafecc85b0f79cfa" | 9 | LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=f41fedb22dffefcbfafecc85b0f79cfa" |
10 | 10 | ||
11 | DEPENDS = "pps-tools libevent" | 11 | DEPENDS = "libevent" |
12 | 12 | ||
13 | SRC_URI = "http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ntp-${PV}.tar.gz \ | 13 | SRC_URI = "http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ntp-${PV}.tar.gz \ |
14 | file://ntp-4.2.4_p6-nano.patch \ | 14 | file://ntp-4.2.4_p6-nano.patch \ |
@@ -45,7 +45,7 @@ USERADD_PARAM_${PN} = "--system --home-dir ${NTP_USER_HOME} \ | |||
45 | --shell /bin/false --user-group ntp" | 45 | --shell /bin/false --user-group ntp" |
46 | 46 | ||
47 | # NB: debug is default-enabled by NTP; keep it default-enabled here. | 47 | # NB: debug is default-enabled by NTP; keep it default-enabled here. |
48 | PACKAGECONFIG ??= "cap debug" | 48 | PACKAGECONFIG ??= "cap debug refclocks" |
49 | PACKAGECONFIG[openssl] = "--with-openssl-libdir=${STAGING_LIBDIR} \ | 49 | PACKAGECONFIG[openssl] = "--with-openssl-libdir=${STAGING_LIBDIR} \ |
50 | --with-openssl-incdir=${STAGING_INCDIR} \ | 50 | --with-openssl-incdir=${STAGING_INCDIR} \ |
51 | --with-crypto, \ | 51 | --with-crypto, \ |
@@ -53,6 +53,7 @@ PACKAGECONFIG[openssl] = "--with-openssl-libdir=${STAGING_LIBDIR} \ | |||
53 | openssl" | 53 | openssl" |
54 | PACKAGECONFIG[cap] = "--enable-linuxcaps,--disable-linuxcaps,libcap" | 54 | PACKAGECONFIG[cap] = "--enable-linuxcaps,--disable-linuxcaps,libcap" |
55 | PACKAGECONFIG[readline] = "--with-lineeditlibs,--without-lineeditlibs,readline" | 55 | PACKAGECONFIG[readline] = "--with-lineeditlibs,--without-lineeditlibs,readline" |
56 | PACKAGECONFIG[refclocks] = "--enable-all-clocks,--disable-all-clocks,pps-tools" | ||
56 | PACKAGECONFIG[debug] = "--enable-debugging,--disable-debugging" | 57 | PACKAGECONFIG[debug] = "--enable-debugging,--disable-debugging" |
57 | 58 | ||
58 | do_install_append() { | 59 | do_install_append() { |