busybox: add posibility to specify correct rtc device for hwclock init script
authorPetr Štetiar <ynezz@true.cz>
Mon, 4 Oct 2010 10:35:32 +0000 (10:35 +0000)
committerKhem Raj <raj.khem@gmail.com>
Wed, 6 Oct 2010 22:23:28 +0000 (15:23 -0700)
commitf2e95d221a4b642b67aeca2ecf0a93b6a3271710
treeb6839a82457ccb7002022be8c5c84a04838ef86b
parent4085252bf8ca739b853f3702fd2396f756c1e42a
busybox: add posibility to specify correct rtc device for hwclock init script

With this patch it's now possible to specify rtc device using HWCLOCKDEVICE
variable in /etc/default/hwclock and the system time is then set using correct
device and vice versa. It's wise to have such functionality, beacuse there're
SBCs with more then one rtc device, for example ts72xx.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
recipes/busybox/busybox.inc
recipes/busybox/files/hwclock.sh