diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-06-08 09:45:55 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-06-08 09:45:55 +0000 |
commit | 459c9c3fc6006608f5c5529ae1fd884776594373 (patch) | |
tree | 0b0578874b312a3b1e7240e3d4805cdfaa04159a /target/linux | |
parent | a592b1e37038d6cd6909461449cb0f0d18a8dbb6 (diff) | |
download | master-187ad058-459c9c3fc6006608f5c5529ae1fd884776594373.tar.gz master-187ad058-459c9c3fc6006608f5c5529ae1fd884776594373.tar.bz2 master-187ad058-459c9c3fc6006608f5c5529ae1fd884776594373.zip |
brcm47xx: fix kmod-usb-brcm47xx build on legacy and mips74k subtargets
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41052 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/brcm47xx/modules.mk | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/target/linux/brcm47xx/modules.mk b/target/linux/brcm47xx/modules.mk index 4dd5edb338..5738d6aa0d 100644 --- a/target/linux/brcm47xx/modules.mk +++ b/target/linux/brcm47xx/modules.mk @@ -13,9 +13,11 @@ define KernelPackage/usb-brcm47xx CONFIG_USB_HCD_BCMA \ CONFIG_USB_HCD_SSB FILES:= \ - $(LINUX_DIR)/drivers/usb/host/bcma-hcd.ko \ - $(LINUX_DIR)/drivers/usb/host/ssb-hcd.ko - AUTOLOAD:=$(call AutoLoad,19,bcma-hcd ssb-hcd,1) + $(if $(CONFIG_USB_HCD_BCMA),$(LINUX_DIR)/drivers/usb/host/bcma-hcd.ko) \ + $(if $(CONFIG_USB_HCD_SSB),$(LINUX_DIR)/drivers/usb/host/ssb-hcd.ko) + AUTOLOAD:=$(call AutoLoad,19, \ + $(if $(CONFIG_USB_HCD_BCMA),bcma-hcd) \ + $(if $(CONFIG_USB_HCD_SSB),ssb-hcd),1) $(call AddDepends/usb) endef |