1 # File: drivers/irda/Makefile
3 # Makefile for the Linux IrDA infrared port device drivers.
7 MOD_SUB_DIRS
:= $(SUB_DIRS
)
8 ALL_SUB_DIRS
:= $(SUB_DIRS
)
10 L_TARGET
:= irda_drivers.a
13 MOD_LIST_NAME
:= IRDA_DRIVERS_MODULES
15 ifeq ($(CONFIG_IRTTY_SIR
),y
)
18 ifeq ($(CONFIG_IRTTY_SIR
),m
)
23 ifeq ($(CONFIG_IRPORT_SIR
),y
)
26 ifeq ($(CONFIG_IRPORT_SIR
),m
)
31 ifeq ($(CONFIG_IRPORT_SIR
),y
)
34 ifeq ($(CONFIG_IRPORT_SIR
),m
)
39 ifeq ($(CONFIG_IRPORT_SIR
),y
)
42 ifeq ($(CONFIG_IRPORT_SIR
),m
)
47 ifeq ($(CONFIG_NSC_FIR
),y
)
50 ifeq ($(CONFIG_NSC_FIR
),m
)
55 ifeq ($(CONFIG_WINBOND_FIR
),y
)
56 L_OBJS
+= w83977af_ir.o
58 ifeq ($(CONFIG_WINBOND_FIR
),m
)
59 M_OBJS
+= w83977af_ir.o
63 ifeq ($(CONFIG_SHARP_FIR
),y
)
64 L_OBJS
+= uircc.o irport.o
66 ifeq ($(CONFIG_SHARP_FIR
),m
)
67 M_OBJS
+= uircc.o irport.o
71 ifeq ($(CONFIG_TOSHIBA_FIR
),y
)
74 ifeq ($(CONFIG_TOSHIBA_FIR
),m
)
79 ifeq ($(CONFIG_TOSHIBA_FIR
),y
)
82 ifeq ($(CONFIG_TOSHIBA_FIR
),m
)
87 ifeq ($(CONFIG_TOSHIBA_FIR
),y
)
90 ifeq ($(CONFIG_TOSHIBA_FIR
),m
)
95 ifeq ($(CONFIG_SMC_IRCC_FIR
),y
)
96 L_OBJS
+= irport.o smc-ircc.o
98 ifeq ($(CONFIG_SMC_IRCC_FIR
),m
)
99 M_OBJS
+= irport.o smc-ircc.o
103 ifeq ($(CONFIG_ESI_DONGLE
),y
)
106 ifeq ($(CONFIG_ESI_DONGLE
),m
)
111 ifeq ($(CONFIG_TEKRAM_DONGLE
),y
)
114 ifeq ($(CONFIG_TEKRAM_DONGLE
),m
)
119 ifeq ($(CONFIG_ACTISYS_DONGLE
),y
)
122 ifeq ($(CONFIG_ACTISYS_DONGLE
),m
)
127 ifeq ($(CONFIG_GIRBIL_DONGLE
),y
)
130 ifeq ($(CONFIG_GIRBIL_DONGLE
),m
)
135 ifeq ($(CONFIG_LITELINK_DONGLE
),y
)
138 ifeq ($(CONFIG_LITELINK_DONGLE
),m
)
143 ifeq ($(CONFIG_LITELINK_DONGLE
),y
)
146 ifeq ($(CONFIG_LITELINK_DONGLE
),m
)
151 ifeq ($(CONFIG_LITELINK_DONGLE
),y
)
154 ifeq ($(CONFIG_LITELINK_DONGLE
),m
)
159 ifeq ($(CONFIG_AIRPORT_DONGLE
),y
)
162 ifeq ($(CONFIG_AIRPORT_DONGLE
),m
)
167 include $(TOPDIR
)/Rules.make
170 rm -f core
*.o
*.a
*.s