Browse Source

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 <[email protected]>
Jonas Gorski 8 years ago
parent
commit
ac388ad83a
1 changed files with 1 additions and 0 deletions
  1. 1 0
      package/kernel/linux/modules/other.mk

+ 1 - 0
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 \