From: Florian Fainelli Date: Wed, 25 Jul 2012 15:50:26 +0000 (+0000) Subject: move mmc driver to target specific modules.mk X-Git-Tag: reboot~13277 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=3b5a8548f424e9477ea9e121e4f15fe2598fd22d;p=openwrt%2Fstaging%2Fxback.git move mmc driver to target specific modules.mk SVN-Revision: 32859 --- diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk index dc950988b1..483c0102da 100644 --- a/package/kernel/modules/other.mk +++ b/package/kernel/modules/other.mk @@ -342,22 +342,6 @@ endef $(eval $(call KernelPackage,mmc)) -define KernelPackage/mmc-atmelmci - SUBMENU:=$(OTHER_MENU) - TITLE:=Amtel MMC Support - DEPENDS:=@TARGET_avr32 +kmod-mmc - KCONFIG:=CONFIG_MMC_ATMELMCI - FILES:=$(LINUX_DIR)/drivers/mmc/host/atmel-mci.ko - AUTOLOAD:=$(call AutoLoad,90,atmel-mci) -endef - -define KernelPackage/mmc-atmelmci/description - Kernel support for Atmel Multimedia Card Interface. -endef - -$(eval $(call KernelPackage,mmc-atmelmci,1)) - - define KernelPackage/oprofile SUBMENU:=$(OTHER_MENU) TITLE:=OProfile profiling support diff --git a/target/linux/avr32/modules.mk b/target/linux/avr32/modules.mk index 415f64be12..e8655b0546 100644 --- a/target/linux/avr32/modules.mk +++ b/target/linux/avr32/modules.mk @@ -19,3 +19,20 @@ define KernelPackage/atmel-wdt/description endef $(eval $(call KernelPackage,atmel-wdt)) + + +define KernelPackage/mmc-atmelmci + SUBMENU:=$(OTHER_MENU) + TITLE:=Amtel MMC Support + DEPENDS:=@TARGET_avr32 +kmod-mmc + KCONFIG:=CONFIG_MMC_ATMELMCI + FILES:=$(LINUX_DIR)/drivers/mmc/host/atmel-mci.ko + AUTOLOAD:=$(call AutoLoad,90,atmel-mci) +endef + +define KernelPackage/mmc-atmelmci/description + Kernel support for Atmel Multimedia Card Interface. +endef + +$(eval $(call KernelPackage,mmc-atmelmci,1)) +