brcm47xx: fix kmod-usb-brcm47xx build on legacy and mips74k subtargets
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 41052
This commit is contained in:
parent
871dd8ec7e
commit
c48140efb8
1 changed files with 5 additions and 3 deletions
|
@ -13,9 +13,11 @@ define KernelPackage/usb-brcm47xx
|
||||||
CONFIG_USB_HCD_BCMA \
|
CONFIG_USB_HCD_BCMA \
|
||||||
CONFIG_USB_HCD_SSB
|
CONFIG_USB_HCD_SSB
|
||||||
FILES:= \
|
FILES:= \
|
||||||
$(LINUX_DIR)/drivers/usb/host/bcma-hcd.ko \
|
$(if $(CONFIG_USB_HCD_BCMA),$(LINUX_DIR)/drivers/usb/host/bcma-hcd.ko) \
|
||||||
$(LINUX_DIR)/drivers/usb/host/ssb-hcd.ko
|
$(if $(CONFIG_USB_HCD_SSB),$(LINUX_DIR)/drivers/usb/host/ssb-hcd.ko)
|
||||||
AUTOLOAD:=$(call AutoLoad,19,bcma-hcd ssb-hcd,1)
|
AUTOLOAD:=$(call AutoLoad,19, \
|
||||||
|
$(if $(CONFIG_USB_HCD_BCMA),bcma-hcd) \
|
||||||
|
$(if $(CONFIG_USB_HCD_SSB),ssb-hcd),1)
|
||||||
$(call AddDepends/usb)
|
$(call AddDepends/usb)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue