[openwrt/openwrt] sunxi: modules: remove useless AddDepends/rtc

LEDE Commits lede-commits at lists.infradead.org
Mon Dec 12 08:19:19 PST 2022


chunkeey pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/a125d46a287061f0a5a81c9009880b957212d74e

commit a125d46a287061f0a5a81c9009880b957212d74e
Author: Chukun Pan <amadeus at jmu.edu.cn>
AuthorDate: Thu Sep 1 23:18:19 2022 +0800

    sunxi: modules: remove useless AddDepends/rtc
    
    AddDepends/rtc has been removed in commit 3da7fe6, same here.
    Fixes: 3da7fe6 ("kernel: remove useless AddDepends/rtc abstraction")
    
    Signed-off-by: Chukun Pan <amadeus at jmu.edu.cn>
    (RTC_SUPPORT - though this is implied by the TARGET_sunxi)
    Signed-off-by: Christian Lamparter <chunkeey at gmail.com>
---
 target/linux/sunxi/modules.mk | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/target/linux/sunxi/modules.mk b/target/linux/sunxi/modules.mk
index 99f4db7604..0c8ed83d0d 100644
--- a/target/linux/sunxi/modules.mk
+++ b/target/linux/sunxi/modules.mk
@@ -5,8 +5,7 @@
 define KernelPackage/rtc-sunxi
     SUBMENU:=$(OTHER_MENU)
     TITLE:=Sunxi SoC built-in RTC support
-    DEPENDS:=@TARGET_sunxi
-    $(call AddDepends/rtc)
+    DEPENDS:=@(TARGET_sunxi&&RTC_SUPPORT)
     KCONFIG:= \
 	CONFIG_RTC_DRV_SUNXI \
 	CONFIG_RTC_CLASS=y
@@ -23,8 +22,7 @@ $(eval $(call KernelPackage,rtc-sunxi))
 define KernelPackage/sunxi-ir
     SUBMENU:=$(OTHER_MENU)
     TITLE:=Sunxi SoC built-in IR support (A20)
-    DEPENDS:=@TARGET_sunxi +kmod-input-core
-    $(call AddDepends/rtc)
+    DEPENDS:=@(TARGET_sunxi&&RTC_SUPPORT) +kmod-input-core
     KCONFIG:= \
 	CONFIG_MEDIA_SUPPORT=y \
 	CONFIG_MEDIA_RC_SUPPORT=y \




More information about the lede-commits mailing list