浏览代码

add config options for targets with RTC

Waldemar Brodkorb 14 年之前
父节点
当前提交
fc63696f1d
共有 2 个文件被更改,包括 5 次插入0 次删除
  1. 1 0
      package/busybox/config/util-linux/Config.in
  2. 4 0
      target/Config.in

+ 1 - 0
package/busybox/config/util-linux/Config.in

@@ -283,6 +283,7 @@ config BUSYBOX_HD
 
 config BUSYBOX_HWCLOCK
 	bool "hwclock"
+	default y if ADK_TARGET_WITH_RTC
 	default n
 	help
 	  The hwclock utility is used to read and set the hardware clock

+ 4 - 0
target/Config.in

@@ -29,6 +29,9 @@ config ADK_TARGET_WITH_PP
 config ADK_TARGET_WITH_CARDBUS
 	bool
 
+config ADK_TARGET_WITH_RTC
+	bool
+
 config ADK_TARGET_WITH_WATCHDOG
 	bool
 
@@ -273,6 +276,7 @@ config ADK_LINUX_MIPS64_LEMOTE
 	select ADK_TARGET_WITH_VGA
 	select ADK_TARGET_WITH_INPUT
 	select ADK_TARGET_WITH_PCI
+	select ADK_TARGET_WITH_RTC
 	select ADK_PACKAGE_KMOD_USB_CONTROLLER
 	help
 	  Lemote Subnotebook.