summaryrefslogtreecommitdiffstats
path: root/drivers/net/irda/Makefile
blob: 05880d5e1f167454f0df7eb06f70859f9f70a6e9 (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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
# File: drivers/irda/Makefile
#
# Makefile for the Linux IrDA infrared port device drivers.
#

SUB_DIRS     := 
MOD_SUB_DIRS := $(SUB_DIRS)
ALL_SUB_DIRS := $(SUB_DIRS)

L_TARGET := irda_drivers.a
L_OBJS   := 
M_OBJS   :=
MOD_LIST_NAME := IRDA_MODULES

ifeq ($(CONFIG_IRTTY_SIR),y)
L_OBJS += irtty.o
else
  ifeq ($(CONFIG_IRTTY_SIR),m)
  M_OBJS += irtty.o
  endif
endif

ifeq ($(CONFIG_NSC_FIR),y)
L_OBJS += pc87108.o
else
  ifeq ($(CONFIG_NSC_FIR),m)
  M_OBJS += pc87108.o
  endif
endif

ifeq ($(CONFIG_WINBOND_FIR),y)
L_OBJS += w83977af_ir.o
else
  ifeq ($(CONFIG_WINBOND_FIR),m)
  M_OBJS += w83977af_ir.o
  endif
endif

ifeq ($(CONFIG_SHARP_FIR),y)
L_OBJS += uircc.o irport.o
else
  ifeq ($(CONFIG_SHARP_FIR),m)
  M_OBJS += uircc.o irport.o
  endif
endif

ifeq ($(CONFIG_ESI_DONGLE),y)
L_OBJS += esi.o
else
  ifeq ($(CONFIG_ESI_DONGLE),m)
  M_OBJS += esi.o
  endif
endif

ifeq ($(CONFIG_TEKRAM_DONGLE),y)
L_OBJS += tekram.o
else
  ifeq ($(CONFIG_TEKRAM_DONGLE),m)
  M_OBJS += tekram.o
  endif
endif

ifeq ($(CONFIG_ACTISYS_DONGLE),y)
L_OBJS += actisys.o
else
  ifeq ($(CONFIG_ACTISYS_DONGLE),m)
  M_OBJS += actisys.o
  endif
endif

include $(TOPDIR)/Rules.make

clean:
	rm -f core *.o *.a *.s