From: Matteo Croce Date: Sun, 18 May 2008 23:13:25 +0000 (+0000) Subject: avr32: add watchdog driver X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=925ad245e090f4d0da3cf902e28b79fdc7206996;p=openwrt%2Fstaging%2Frmilecki.git avr32: add watchdog driver SVN-Revision: 11192 --- diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk index b7e6cab7484..d7d078d3706 100644 --- a/package/kernel/modules/other.mk +++ b/package/kernel/modules/other.mk @@ -275,6 +275,22 @@ ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.24)),1) endif WATCHDOG_DIR?=char/watchdog +define KernelPackage/atmel-wdt + SUBMENU:=$(OTHER_MENU) + TITLE:=AT32AP700x watchdog + DEPENDS:=@TARGET_avr32 + KCONFIG:=CONFIG_AT32AP700X_WDT + FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/at32ap700x_wdt.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,50,at32ap700x_wdt) +endef + +define KernelPackage/atmel-wdt/description + AT32AP700x watchdog +endef + +$(eval $(call KernelPackage,atmel-wdt)) + + define KernelPackage/softdog SUBMENU:=$(OTHER_MENU) TITLE:=Software watchdog driver