diff options
author | Florian Fainelli <florian@openwrt.org> | 2009-11-04 22:43:05 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2009-11-04 22:43:05 +0000 |
commit | 40754b45252b901045c534b56e5b9f2ec3a58e33 (patch) | |
tree | 4cadf263b61a051884b938ec321d7ee4c439cc90 | |
parent | 9f96bc46976f415cae4853ccb441a8635f685834 (diff) | |
download | upstream-40754b45252b901045c534b56e5b9f2ec3a58e33.tar.gz upstream-40754b45252b901045c534b56e5b9f2ec3a58e33.tar.bz2 upstream-40754b45252b901045c534b56e5b9f2ec3a58e33.zip |
make rdc321-wdt become a package, saves some space in the kernel
SVN-Revision: 18298
-rw-r--r-- | package/kernel/modules/other.mk | 15 | ||||
-rw-r--r-- | target/linux/rdc/config-2.6.28 | 1 |
2 files changed, 15 insertions, 1 deletions
diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk index 28ba41469d..bf26beffa9 100644 --- a/package/kernel/modules/other.mk +++ b/package/kernel/modules/other.mk @@ -419,6 +419,21 @@ endef $(eval $(call KernelPackage,softdog)) +define KernelPackage/rdc321x-wdt + SUBMENU:=$(OTHER_MENU) + TITLE:=RDC321x watchdog + DEPENDS:=@TARGET_rdc + KCONFIG:=CONFIG_RDC321X_WDT + FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/rdc321x_wdt.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,50,rdc321_wdt) +endef + +define KernelPackage/rdc321x-wdt/description + RDC-321x watchdog driver +endef + +$(eval $(call KernelPackage,rdc321x-wdt)) + define KernelPackage/leds-gpio SUBMENU:=$(OTHER_MENU) diff --git a/target/linux/rdc/config-2.6.28 b/target/linux/rdc/config-2.6.28 index 7fec13148f..a8561b7871 100644 --- a/target/linux/rdc/config-2.6.28 +++ b/target/linux/rdc/config-2.6.28 @@ -217,7 +217,6 @@ CONFIG_PHYSICAL_START=0x100000 # CONFIG_PROCESSOR_SELECT is not set # CONFIG_PROVIDE_OHCI1394_DMA_INIT is not set # CONFIG_R6040 is not set -CONFIG_RDC321X_WDT=y # CONFIG_RD_BZIP2 is not set CONFIG_RD_GZIP=y # CONFIG_RD_LZMA is not set |