more changes on original files
[linux-2.4.git] / drivers / usb / host / Makefile
1 #
2 # Makefile for USB Host Controller Driver
3 # framework and drivers
4 #
5
6 O_TARGET        :=
7
8 obj-$(CONFIG_USB_EHCI_HCD)                      += ehci-hcd.o
9 obj-$(CONFIG_USB_UHCI_ALT)                      += uhci.o
10 obj-$(CONFIG_USB_UHCI)                          += usb-uhci.o
11 obj-$(CONFIG_USB_OHCI)                          += usb-ohci.o
12 obj-$(CONFIG_USB_SL811HS_ALT)                   += sl811.o
13 obj-$(CONFIG_USB_SL811HS)                       += hc_sl811.o
14
15 # Extract lists of the multi-part drivers.
16 # The 'int-*' lists are the intermediate files used to build the multi's.
17 multi-y         := $(filter $(list-multi), $(obj-y))
18 multi-m         := $(filter $(list-multi), $(obj-m))
19 int-y           := $(sort $(foreach m, $(multi-y), $($(basename $(m))-objs)))
20 int-m           := $(sort $(foreach m, $(multi-m), $($(basename $(m))-objs)))
21
22 # Take multi-part drivers out of obj-y and put components in.
23 obj-y           := $(filter-out $(list-multi), $(obj-y)) $(int-y)
24
25 # Translate to Rules.make lists.
26 OX_OBJS         := $(obj-y)
27 MX_OBJS         := $(obj-m)
28 MIX_OBJS        := $(int-m)
29
30 include $(TOPDIR)/Rules.make