From: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] ntp: add ntptime option
Date: Wed, 7 Oct 2015 13:19:37 +0100 [thread overview]
Message-ID: <56150DD9.3030600@imgtec.com> (raw)
In-Reply-To: <1444076966-9308-1-git-send-email-james.knight@rockwellcollins.com>
Dear James Knight,
On 10/05/2015 09:29 PM, James Knight wrote:
> Allow the `ntptime` utility to be included on a target.
>
> Signed-off-by: James Knight <james.knight@rockwellcollins.com>
Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Build test for MIPS architecture:
$ file output/target/usr/bin/ntptime
output/target/usr/bin/ntptime: ELF 32-bit MSB executable, MIPS, MIPS32
rel2 version 1, dynamically linked (uses shared libs), for GNU/Linux
2.6.32, with unknown capability 0x41000000 = 0xf676e75, with unknown
capability 0x10000 = 0x70403, not stripped
Regards,
Vincent.
> ---
> package/ntp/Config.in | 6 ++++++
> package/ntp/ntp.mk | 1 +
> 2 files changed, 7 insertions(+)
>
> diff --git a/package/ntp/Config.in b/package/ntp/Config.in
> index d4caddf..1763225 100644
> --- a/package/ntp/Config.in
> +++ b/package/ntp/Config.in
> @@ -67,6 +67,12 @@ config BR2_PACKAGE_NTP_NTPSNMPD
> help
> Install ntpsnmpd NTP SNMP MIB agent.
>
> +config BR2_PACKAGE_NTP_NTPTIME
> + bool "ntptime"
> + help
> + The ntptime utility program is used to read and set kernel time
> + variables.
> +
> config BR2_PACKAGE_NTP_NTPTRACE
> bool "ntptrace"
> depends on BR2_PACKAGE_PERL
> diff --git a/package/ntp/ntp.mk b/package/ntp/ntp.mk
> index 5997247..a3818ea 100644
> --- a/package/ntp/ntp.mk
> +++ b/package/ntp/ntp.mk
> @@ -46,6 +46,7 @@ NTP_INSTALL_FILES_$(BR2_PACKAGE_NTP_NTPDATE) += ntpdate/ntpdate
> NTP_INSTALL_FILES_$(BR2_PACKAGE_NTP_NTPDC) += ntpdc/ntpdc
> NTP_INSTALL_FILES_$(BR2_PACKAGE_NTP_NTPQ) += ntpq/ntpq
> NTP_INSTALL_FILES_$(BR2_PACKAGE_NTP_NTPSNMPD) += ntpsnmpd/ntpsnmpd
> +NTP_INSTALL_FILES_$(BR2_PACKAGE_NTP_NTPTIME) += util/ntptime
> NTP_INSTALL_FILES_$(BR2_PACKAGE_NTP_NTPTRACE) += scripts/ntptrace/ntptrace
> NTP_INSTALL_FILES_$(BR2_PACKAGE_NTP_SNTP) += sntp/sntp
> NTP_INSTALL_FILES_$(BR2_PACKAGE_NTP_TICKADJ) += util/tickadj
>
next prev parent reply other threads:[~2015-10-07 12:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-05 20:29 [Buildroot] [PATCH 1/1] ntp: add ntptime option James Knight
2015-10-07 12:19 ` Vicente Olivert Riera [this message]
2015-10-09 21:27 ` Thomas Petazzoni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=56150DD9.3030600@imgtec.com \
--to=vincent.riera@imgtec.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.