From a125d46a287061f0a5a81c9009880b957212d74e Mon Sep 17 00:00:00 2001 From: Chukun Pan Date: Thu, 1 Sep 2022 23:18:19 +0800 Subject: [PATCH] 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 --- 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 \ -- 2.30.2