summaryrefslogtreecommitdiff
path: root/package/kernel
diff options
context:
space:
mode:
authorHamish Guthrie <hcg@openwrt.org>2007-03-10 16:06:37 +0000
committerHamish Guthrie <hcg@openwrt.org>2007-03-10 16:06:37 +0000
commit98408d08542ae2f7cc110c1ca20cde9e57309f51 (patch)
treed53e1de4fdf8578190dce82a0a46124469b05529 /package/kernel
parent4a5cb10be35e55a3c725ae335d2f8532c98a0f55 (diff)
downloadmtk-20170518-98408d08542ae2f7cc110c1ca20cde9e57309f51.zip
mtk-20170518-98408d08542ae2f7cc110c1ca20cde9e57309f51.tar.gz
mtk-20170518-98408d08542ae2f7cc110c1ca20cde9e57309f51.tar.bz2
Added MMC/SD Card module support
SVN-Revision: 6544
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/modules/other.mk15
1 files changed, 15 insertions, 0 deletions
diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk
index e9cefcb..7143eac 100644
--- a/package/kernel/modules/other.mk
+++ b/package/kernel/modules/other.mk
@@ -216,6 +216,21 @@ define KernelPackage/bluetooth/2.6
endef
$(eval $(call KernelPackage,bluetooth))
+define KernelPackage/mmc
+ TITLE:=MMC/SD Card Support
+ DESCRIPTION:=Kernel support for MMC/SD cards
+ SUBMENU:=$(EMENU)
+ endef
+
+define KernelPackage/mmc/2.6
+ KCONFIG:=$(CONFIG_MMC)
+ FILES:= \
+ $(MODULES_DIR)/kernel/drivers/mmc/mmc_core.$(LINUX_KMOD_SUFFIX) \
+ $(MODULES_DIR)/kernel/drivers/mmc/mmc_block.$(LINUX_KMOD_SUFFIX) \
+ $(MODULES_DIR)/kernel/drivers/mmc/at91_mci.$(LINUX_KMOD_SUFFIX) \
+ AUTOLOAD:=$(call AutoLoad,90,mmc_core mmc_block at91_mci)
+endef
+$(eval $(call KernelPackage,mmc))
define KernelPackage/softdog
TITLE:=Software watchdog driver