2023-05-11 04:55:23 +02:00
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
include $(INCLUDE_DIR)/kernel.mk
|
|
|
|
|
|
|
|
PKG_NAME:=rtc-pcf85063
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define KernelPackage/$(PKG_NAME)
|
|
|
|
SUBMENU:=Other modules
|
|
|
|
TITLE:=Philips PCF85063 RTC support
|
|
|
|
DEPENDS:=+kmod-i2c-core +kmod-regmap-i2c
|
|
|
|
AUTOLOAD:=$(call AutoProbe,rtc-pcf85063)
|
|
|
|
FILES:=$(PKG_BUILD_DIR)/rtc-pcf85063.ko
|
|
|
|
KCONFIG:=
|
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/$(PKG_NAME)/description
|
|
|
|
Kernel module for Philips PCF85063 RTC chip.
|
|
|
|
endef
|
|
|
|
|
|
|
|
EXTRA_KCONFIG:= \
|
|
|
|
CONFIG_RTC_DRV_PCF85063=m \
|
|
|
|
CONFIG_RTC_CLASS=y
|
|
|
|
|
2023-06-03 13:50:41 +02:00
|
|
|
include ../kmod.mk
|
2023-05-11 04:55:23 +02:00
|
|
|
|
|
|
|
$(eval $(call KernelPackage,$(PKG_NAME)))
|