mac80211: manually apply dependencies to prevent a recoursive one

Apply the !UML dependency to both the symbol and the DEPENDS so there is
no recursive dependency anymore.

Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
owl
Jonas Gorski 2017-04-12 12:44:12 +02:00
parent 06997d2635
commit 5ba8185866
1 changed files with 2 additions and 1 deletions

View File

@ -687,7 +687,7 @@ define KernelPackage/brcmfmac
TITLE:=Broadcom IEEE802.11n USB FullMAC WLAN driver TITLE:=Broadcom IEEE802.11n USB FullMAC WLAN driver
URL:=https://wireless.wiki.kernel.org/en/users/drivers/brcm80211 URL:=https://wireless.wiki.kernel.org/en/users/drivers/brcm80211
DEPENDS+= @USB_SUPPORT +kmod-cfg80211 +@DRIVER_11N_SUPPORT +@DRIVER_11AC_SUPPORT +kmod-brcmutil \ DEPENDS+= @USB_SUPPORT +kmod-cfg80211 +@DRIVER_11N_SUPPORT +@DRIVER_11AC_SUPPORT +kmod-brcmutil \
+BRCMFMAC_SDIO:kmod-mmc \ +BRCMFMAC_SDIO&&!TARGET_uml:kmod-mmc \
+BRCMFMAC_USB:kmod-usb-core +BRCMFMAC_USB:brcmfmac-firmware-usb +BRCMFMAC_USB:kmod-usb-core +BRCMFMAC_USB:brcmfmac-firmware-usb
FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/broadcom/brcm80211/brcmfmac/brcmfmac.ko FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/broadcom/brcm80211/brcmfmac/brcmfmac.ko
AUTOLOAD:=$(call AutoProbe,brcmfmac) AUTOLOAD:=$(call AutoProbe,brcmfmac)
@ -702,6 +702,7 @@ define KernelPackage/brcmfmac/config
config BRCMFMAC_SDIO config BRCMFMAC_SDIO
bool "Enable SDIO bus interface support" bool "Enable SDIO bus interface support"
depends on !TARGET_uml
default y if TARGET_brcm2708 default y if TARGET_brcm2708
default n default n
help help