brcm43xx: update SSB driver * files/ now contains the wireless-dev tree version ...
[librecmc/librecmc.git] / target / linux / brcm47xx-2.6 / files / drivers / ssb / Makefile
index 9f85d225dda2ef01657ce8866a1f632027ccc24b..9a2b379fbf54856bd61a986107e1d4257ba15490 100644 (file)
@@ -1,14 +1,11 @@
-ssb-driver-chipcommon-y                                := driver_chipcommon/chipcommon.o
-ssb-driver-mips-$(CONFIG_BCM947XX)     := driver_mips/mips.o
-ssb-driver-pci-$(CONFIG_SSB_DRIVER_PCICORE)    := driver_pci/pcicore.o
+ssb-builtin-drivers-y                                  += driver_chipcommon.o
+ssb-builtin-drivers-$(CONFIG_SSB_DRIVER_MIPS)          += driver_mipscore.o
+ssb-builtin-drivers-$(CONFIG_SSB_DRIVER_PCICORE)       += driver_pcicore.o
 
-ssb-$(CONFIG_SSB_PCIHOST)                      += pci.o
-ssb-$(CONFIG_SSB_PCMCIAHOST)                   += pcmcia.o
+ssb-hostsupport-$(CONFIG_SSB_PCIHOST)                  += pci.o pcihost_wrapper.o
+ssb-hostsupport-$(CONFIG_SSB_PCMCIAHOST)               += pcmcia.o
 
 obj-$(CONFIG_SSB) += ssb.o
 
-ssb-objs       := core.o scan.o \
-                  $(ssb-y) $(ssb-m) \
-                  $(ssb-driver-chipcommon-y) \
-                  $(ssb-driver-mips-y) \
-                  $(ssb-driver-pci-y)
+ssb-objs       := main.o scan.o \
+                  $(ssb-hostsupport-y) $(ssb-builtin-drivers-y)