summaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial/Makefile
blob: 146090ab2ba7d15a06c7e1deee556bf64ef88e01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#
# Makefile for the USB serial device drivers.
#

O_TARGET	:= usb-serial.o
M_OBJS		:=
O_OBJS		:=
MOD_LIST_NAME	:= USB_SERIAL_MODULES

# Object file lists.

obj-y	:=
obj-m	:=
obj-n	:=
obj-	:=

ifeq ($(CONFIG_USB_SERIAL),y)
	obj-y += usbserial.o
endif
ifeq ($(CONFIG_USB_SERIAL),m)
	obj-m += usbserial.o
endif

obj-$(CONFIG_USB_SERIAL_VISOR)			+= visor.o
obj-$(CONFIG_USB_SERIAL_WHITEHEAT)		+= whiteheat.o
obj-$(CONFIG_USB_SERIAL_FTDI_SIO)		+= ftdi_sio.o
obj-$(CONFIG_USB_SERIAL_KEYSPAN_PDA)		+= keyspan_pda.o
obj-$(CONFIG_USB_SERIAL_KEYSPAN)		+= keyspan.o
obj-$(CONFIG_USB_SERIAL_OMNINET)		+= omninet.o
obj-$(CONFIG_USB_SERIAL_DIGI_ACCELEPORT)	+= digi_acceleport.o
 
# Objects that export symbols.
export-objs	:= usbserial.o

# Translate to Rules.make lists.

O_OBJS		:= $(sort $(filter-out $(export-objs), $(obj-y)))
OX_OBJS		:= $(sort $(filter     $(export-objs), $(obj-y)))
M_OBJS		:= $(sort $(filter-out $(export-objs), $(obj-m)))
MX_OBJS		:= $(sort $(filter     $(export-objs), $(obj-m)))

include $(TOPDIR)/Rules.make