Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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@gmail.com>
- Loading branch information
ac388ad
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
root@kk:~/lede# make menuconfig
Collecting package info: done
Collecting target info: done
tmp/.config-package.in:12490:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:12490: symbol PACKAGE_kmod-brcmfmac depends on BRCMFMAC_SDIO
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:12512: symbol BRCMFMAC_SDIO depends on PACKAGE_kmod-brcmfmac
Your configuration changes were NOT saved.
root@kk:~/lede#
ac388ad
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tmp/.config-package.in
[...]
config PACKAGE_kmod-brcmfmac
tristate "kmod-brcmfmac............... Broadcom IEEE802.11n USB FullMAC WLAN driver"
default y if DEFAULT_kmod-brcmfmac
default m if ALL||ALL_NONSHARED||ALL_KMODS
select DRIVER_11AC_SUPPORT
select PACKAGE_kmod-brcmutil
select PACKAGE_kmod-mmc if BRCMFMAC_SDIO
depends on PCI_SUPPORT||USB_SUPPORT
select DRIVER_11N_SUPPORT
depends on !(BRCMFMAC_SDIO) || !TARGET_uml
select PACKAGE_brcmfmac-firmware-usb if BRCMFMAC_USB
select PACKAGE_kmod-usb-core if BRCMFMAC_USB
depends on USB_SUPPORT
select PACKAGE_kmod-cfg80211
help
Kernel module for Broadcom IEEE802.11n USB Wireless cards
https://wireless.wiki.kernel.org/en/users/drivers/brcm80211
Felix Fietkau nbd@nbd.name
[...]