On Mon, Apr 25, 2011 at 10:16:51AM -0500, Joseph A. Lutz wrote:
> Signed-off-by: Joseph A. Lutz <joseph.l...@novatechweb.com>

Tnx, applied.

Michael

> ---
>  rules/util-linux-ng.in   |   13 +++++++++++++
>  rules/util-linux-ng.make |    3 +++
>  2 files changed, 16 insertions(+), 0 deletions(-)
> 
> diff --git a/rules/util-linux-ng.in b/rules/util-linux-ng.in
> index 671a95a..f6beb14 100644
> --- a/rules/util-linux-ng.in
> +++ b/rules/util-linux-ng.in
> @@ -147,6 +147,19 @@ config UTIL_LINUX_NG_CHRT
>  comment "chrt from busybox selected"
>       depends on BUSYBOX_CHRT
>  
> +config UTIL_LINUX_NG_HWCLOCK
> +        bool
> +        prompt "hwclock"
> +        depends on !BUSYBOX_HWCLOCK || ALLYES
> +        help
> +       hwclock - The hwclock utility is used to read and set the hardware
> +       clock on a system.  This is primarily used to set the current time
> +       on shutdown in the hardware clock, so the hardware will keep the
> +       correct time when Linux is _not_ running.
> +
> +comment "hwclock from busybox selected"
> +        depends on BUSYBOX_HWCLOCK
> +
>  config UTIL_LINUX_NG_IONICE
>       bool
>       prompt "ionice"
> diff --git a/rules/util-linux-ng.make b/rules/util-linux-ng.make
> index 11c9e4d..3f4b48f 100644
> --- a/rules/util-linux-ng.make
> +++ b/rules/util-linux-ng.make
> @@ -149,6 +149,9 @@ endif
>  ifdef PTXCONF_UTIL_LINUX_NG_CHRT
>       @$(call install_copy, util-linux-ng, 0, 0, 0755, -, /usr/bin/chrt)
>  endif
> +ifdef PTXCONF_UTIL_LINUX_NG_HWCLOCK
> +     @$(call install_copy, util-linux-ng, 0, 0, 0755, -, /sbin/hwclock)
> +endif
>  ifdef PTXCONF_UTIL_LINUX_NG_IONICE
>       @$(call install_copy, util-linux-ng, 0, 0, 0755, -, /usr/bin/ionice)
>  endif
> -- 
> 1.7.1
> 
> 
> 
> -- 
> ptxdist mailing list
> ptxdist@pengutronix.de
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

Reply via email to