From: Florian Fainelli Date: Wed, 25 Jul 2012 15:50:10 +0000 (+0000) Subject: move watchdog driver to target specific modules.mk X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=accbc200457dcbe823e10affe1a30997fcdfce9f;p=openwrt%2Fstaging%2Fflorian.git move watchdog driver to target specific modules.mk SVN-Revision: 32854 --- diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk index a8b7c5d61e..570acaf1df 100644 --- a/package/kernel/modules/other.mk +++ b/package/kernel/modules/other.mk @@ -492,22 +492,6 @@ endef $(eval $(call KernelPackage,wdt-orion)) -define KernelPackage/wdt-ath79 - SUBMENU:=$(OTHER_MENU) - TITLE:=Atheros AR7XXX/AR9XXX watchdog timer - DEPENDS:=@TARGET_ar71xx - KCONFIG:=CONFIG_ATH79_WDT - FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/ath79_wdt.ko - AUTOLOAD:=$(call AutoLoad,50,ath79_wdt) -endef - -define KernelPackage/wdt-ath79/description - Kernel module for AR7XXX/AR9XXX watchdog timer. -endef - -$(eval $(call KernelPackage,wdt-ath79)) - - define KernelPackage/booke-wdt SUBMENU:=$(OTHER_MENU) TITLE:=PowerPC Book-E Watchdog Timer diff --git a/target/linux/ar71xx/modules.mk b/target/linux/ar71xx/modules.mk index 9b061d55b0..b70d2e039a 100644 --- a/target/linux/ar71xx/modules.mk +++ b/target/linux/ar71xx/modules.mk @@ -51,3 +51,19 @@ define KernelPackage/spi-vsc7385/description endef $(eval $(call KernelPackage,spi-vsc7385)) + + +define KernelPackage/wdt-ath79 + SUBMENU:=$(OTHER_MENU) + TITLE:=Atheros AR7XXX/AR9XXX watchdog timer + DEPENDS:=@TARGET_ar71xx + KCONFIG:=CONFIG_ATH79_WDT + FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/ath79_wdt.ko + AUTOLOAD:=$(call AutoLoad,50,ath79_wdt) +endef + +define KernelPackage/wdt-ath79/description + Kernel module for AR7XXX/AR9XXX watchdog timer. +endef + +$(eval $(call KernelPackage,wdt-ath79))