From: Chukun Pan Date: Thu, 1 Sep 2022 15:18:19 +0000 (+0800) Subject: sunxi: modules: remove useless AddDepends/rtc X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a125d46a287061f0a5a81c9009880b957212d74e;p=openwrt%2Fstaging%2Fdangole.git 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 (RTC_SUPPORT - though this is implied by the TARGET_sunxi) Signed-off-by: Christian Lamparter --- 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 \