kernel: fix kmod-rtc-pcf8563 dependencies
authorHauke Mehrtens <hauke@hauke-m.de>
Fri, 19 Jul 2013 22:27:31 +0000 (22:27 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Fri, 19 Jul 2013 22:27:31 +0000 (22:27 +0000)
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 37459

package/kernel/linux/modules/001-depends.mk
package/kernel/linux/modules/other.mk

index 445466fb3853cc4a485721b540ef6d58cd655705..ed894311ccfc5edfc7824516c3829a2d12cdba01 100644 (file)
@@ -33,5 +33,5 @@ endef
 
 
 define AddDepends/rtc
-  DEPENDS+= @RTC_SUPPORT
+  DEPENDS+= @RTC_SUPPORT $(1)
 endef
index f850581ba7d626e8dee94d14c2238d3eb7c00eac..44bc870b886961250d44874c9451982ae19ae6ae 100644 (file)
@@ -439,7 +439,7 @@ $(eval $(call KernelPackage,rtc-marvell))
 define KernelPackage/rtc-pcf8563
   SUBMENU:=$(OTHER_MENU)
   TITLE:=Philips PCF8563/Epson RTC8564 RTC support
-  $(call AddDepends/rtc)
+  $(call AddDepends/rtc,+kmod-i2c-core)
   KCONFIG:=CONFIG_RTC_DRV_PCF8563
   FILES:=$(LINUX_DIR)/drivers/rtc/rtc-pcf8563.ko
   AUTOLOAD:=$(call AutoLoad,60,rtc-pcf8563)