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 include ../kmod.mk $(eval $(call KernelPackage,$(PKG_NAME)))