sunxi: fix build of rtc package when module not available
If the Kconfig option CONFIG_RTC_DRV_SUNXI is not selected this package should be be build. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
parent
b9a35920bf
commit
4b81bb13f4
@ -10,8 +10,8 @@ define KernelPackage/rtc-sunxi
|
|||||||
DEPENDS:=@TARGET_sunxi
|
DEPENDS:=@TARGET_sunxi
|
||||||
$(call AddDepends/rtc)
|
$(call AddDepends/rtc)
|
||||||
KCONFIG:= \
|
KCONFIG:= \
|
||||||
CONFIG_RTC_CLASS=y \
|
CONFIG_RTC_DRV_SUNXI \
|
||||||
CONFIG_RTC_DRV_SUNXI=m
|
CONFIG_RTC_CLASS=y
|
||||||
FILES:=$(LINUX_DIR)/drivers/rtc/rtc-sunxi.ko
|
FILES:=$(LINUX_DIR)/drivers/rtc/rtc-sunxi.ko
|
||||||
AUTOLOAD:=$(call AutoLoad,50,rtc-sunxi)
|
AUTOLOAD:=$(call AutoLoad,50,rtc-sunxi)
|
||||||
endef
|
endef
|
||||||
|
Loading…
Reference in New Issue
Block a user