1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-01-26 22:21:07 +02:00

avr32: add watchdog driver

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11192 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
matteo 2008-05-18 23:13:25 +00:00
parent 9a949b5c62
commit 6fc2e8d077

View File

@ -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