diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-03-29 08:12:50 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-03-29 08:12:50 +0000 |
commit | 5e235569470a65b7bdc6c1461cccb9a491ee9e5d (patch) | |
tree | 3e5f138d54ffe4063dbad3f9b79d0b926308de97 /package/kernel | |
parent | 91521083342d845c2807854992229fb61918dced (diff) | |
download | upstream-5e235569470a65b7bdc6c1461cccb9a491ee9e5d.tar.gz upstream-5e235569470a65b7bdc6c1461cccb9a491ee9e5d.tar.bz2 upstream-5e235569470a65b7bdc6c1461cccb9a491ee9e5d.zip |
kernel: remove useless AddDepends/rtc abstraction
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45136 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel')
-rw-r--r-- | package/kernel/linux/modules/001-depends.mk | 5 | ||||
-rw-r--r-- | package/kernel/linux/modules/other.mk | 18 |
2 files changed, 7 insertions, 16 deletions
diff --git a/package/kernel/linux/modules/001-depends.mk b/package/kernel/linux/modules/001-depends.mk index 81192e0547..806c3dcfd5 100644 --- a/package/kernel/linux/modules/001-depends.mk +++ b/package/kernel/linux/modules/001-depends.mk @@ -12,8 +12,3 @@ endef define AddDepends/rfkill DEPENDS+= +USE_RFKILL:kmod-rfkill $(1) endef - - -define AddDepends/rtc - DEPENDS+= @RTC_SUPPORT $(1) -endef diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk index 97990b70bc..18edaeffc5 100644 --- a/package/kernel/linux/modules/other.mk +++ b/package/kernel/linux/modules/other.mk @@ -513,8 +513,7 @@ $(eval $(call KernelPackage,booke-wdt)) define KernelPackage/rtc-ds1307 SUBMENU:=$(OTHER_MENU) TITLE:=Dallas/Maxim DS1307 (and compatible) RTC support - $(call AddDepends/rtc) - DEPENDS+=+kmod-i2c-core + DEPENDS:=@RTC_SUPPORT +kmod-i2c-core KCONFIG:=CONFIG_RTC_DRV_DS1307 FILES:=$(LINUX_DIR)/drivers/rtc/rtc-ds1307.ko AUTOLOAD:=$(call AutoProbe,rtc-ds1307) @@ -531,8 +530,7 @@ $(eval $(call KernelPackage,rtc-ds1307)) define KernelPackage/rtc-ds1672 SUBMENU:=$(OTHER_MENU) TITLE:=Dallas/Maxim DS1672 RTC support - $(call AddDepends/rtc) - DEPENDS+=+kmod-i2c-core + DEPENDS:=@RTC_SUPPORT +kmod-i2c-core KCONFIG:=CONFIG_RTC_DRV_DS1672 FILES:=$(LINUX_DIR)/drivers/rtc/rtc-ds1672.ko AUTOLOAD:=$(call AutoProbe,rtc-ds1672) @@ -548,8 +546,7 @@ $(eval $(call KernelPackage,rtc-ds1672)) define KernelPackage/rtc-isl1208 SUBMENU:=$(OTHER_MENU) TITLE:=Intersil ISL1208 RTC support - $(call AddDepends/rtc) - DEPENDS+=+kmod-i2c-core + DEPENDS:=@RTC_SUPPORT +kmod-i2c-core KCONFIG:=CONFIG_RTC_DRV_ISL1208 FILES:=$(LINUX_DIR)/drivers/rtc/rtc-isl1208.ko AUTOLOAD:=$(call AutoProbe,rtc-isl1208) @@ -565,8 +562,7 @@ $(eval $(call KernelPackage,rtc-isl1208)) define KernelPackage/rtc-marvell SUBMENU:=$(OTHER_MENU) TITLE:=Marvell SoC built-in RTC support - $(call AddDepends/rtc) - DEPENDS+=@TARGET_kirkwood||TARGET_orion||TARGET_mvebu + DEPENDS:=@RTC_SUPPORT @TARGET_kirkwood||TARGET_orion||TARGET_mvebu KCONFIG:=CONFIG_RTC_DRV_MV FILES:=$(LINUX_DIR)/drivers/rtc/rtc-mv.ko AUTOLOAD:=$(call AutoProbe,rtc-mv) @@ -581,7 +577,7 @@ $(eval $(call KernelPackage,rtc-marvell)) define KernelPackage/rtc-pcf8563 SUBMENU:=$(OTHER_MENU) TITLE:=Philips PCF8563/Epson RTC8564 RTC support - $(call AddDepends/rtc,+kmod-i2c-core) + DEPENDS:=@RTC_SUPPORT +kmod-i2c-core KCONFIG:=CONFIG_RTC_DRV_PCF8563 FILES:=$(LINUX_DIR)/drivers/rtc/rtc-pcf8563.ko AUTOLOAD:=$(call AutoProbe,rtc-pcf8563) @@ -598,7 +594,7 @@ $(eval $(call KernelPackage,rtc-pcf8563)) define KernelPackage/rtc-pcf2123 SUBMENU:=$(OTHER_MENU) TITLE:=Philips PCF2123 RTC support - $(call AddDepends/rtc) + DEPENDS:=@RTC_SUPPORT KCONFIG:=CONFIG_RTC_DRV_PCF2123 FILES:=$(LINUX_DIR)/drivers/rtc/rtc-pcf2123.ko AUTOLOAD:=$(call AutoProbe,rtc-pcf2123) @@ -613,7 +609,7 @@ $(eval $(call KernelPackage,rtc-pcf2123)) define KernelPackage/rtc-pt7c4338 SUBMENU:=$(OTHER_MENU) TITLE:=Pericom PT7C4338 RTC support - $(call AddDepends/rtc,+kmod-i2c-core) + DEPENDS:=@RTC_SUPPORT +kmod-i2c-core KCONFIG:=CONFIG_RTC_DRV_PT7C4338 FILES:=$(LINUX_DIR)/drivers/rtc/rtc-pt7c4338.ko AUTOLOAD:=$(call AutoProbe,rtc-pt7c4338) |