[source] kernel: make kmod-mmc unavailable on UML

LEDE Commits lede-commits at lists.infradead.org
Mon Apr 10 02:24:16 PDT 2017


jogo pushed a commit to source.git, branch master:
https://git.lede-project.org/ac388ad83ae39c6871958d9092d6225be45f9ceb

commit ac388ad83ae39c6871958d9092d6225be45f9ceb
Author: Jonas Gorski <jonas.gorski at gmail.com>
AuthorDate: Mon Apr 10 10:56:10 2017 +0200

    kernel: make kmod-mmc unavailable on UML
    
    MMC requires IOMEM support, which UML doesn't have.
    
    Fixes mac80211 build, as mwifiex-sdio depends on MMC support.
    
    Signed-off-by: Jonas Gorski <jonas.gorski at gmail.com>
---
 package/kernel/linux/modules/other.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk
index b8b2241..e7e98e8 100644
--- a/package/kernel/linux/modules/other.mk
+++ b/package/kernel/linux/modules/other.mk
@@ -349,6 +349,7 @@ $(eval $(call KernelPackage,lp))
 define KernelPackage/mmc
   SUBMENU:=$(OTHER_MENU)
   TITLE:=MMC/SD Card Support
+  DEPENDS:=@!TARGET_uml
   KCONFIG:= \
 	CONFIG_MMC \
 	CONFIG_MMC_BLOCK \



More information about the lede-commits mailing list