summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-07-19 22:27:31 +0000
committerhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-07-19 22:27:31 +0000
commit37c935863ec7f44c5735a57d1d6605396cbe32ca (patch)
tree10964d10d453bb7cf4c46ce2561f171bd7b5cfd8
parentdec2c8a2e6390be1a5182847dac78edfeb1443d1 (diff)
kernel: fix kmod-rtc-pcf8563 dependencies
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37459 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/kernel/linux/modules/001-depends.mk2
-rw-r--r--package/kernel/linux/modules/other.mk2
2 files changed, 2 insertions, 2 deletions
diff --git a/package/kernel/linux/modules/001-depends.mk b/package/kernel/linux/modules/001-depends.mk
index 445466fb38..ed894311cc 100644
--- a/package/kernel/linux/modules/001-depends.mk
+++ b/package/kernel/linux/modules/001-depends.mk
@@ -33,5 +33,5 @@ endef
define AddDepends/rtc
- DEPENDS+= @RTC_SUPPORT
+ DEPENDS+= @RTC_SUPPORT $(1)
endef
diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk
index f850581ba7..44bc870b88 100644
--- a/package/kernel/linux/modules/other.mk
+++ b/package/kernel/linux/modules/other.mk
@@ -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)