blob: e88e8173587b27d3a5575b398b14c3cbaafc866e (
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
|
SUB_DIRS :=
MOD_SUB_DIRS :=
ALL_SUB_DIRS := icn pcbit hisax
L_OBJS :=
LX_OBJS :=
M_OBJS :=
MX_OBJS :=
O_OBJS :=
OX_OBJS :=
L_TARGET :=
O_TARGET :=
ifeq ($(CONFIG_ISDN),y)
L_TARGET := isdn.a
L_OBJS += isdn_common.o isdn_net.o isdn_tty.o isdn_cards.o
LX_OBJS += isdn_syms.o
ifdef CONFIG_ISDN_PPP
L_OBJS += isdn_ppp.o
endif
ifdef CONFIG_ISDN_AUDIO
L_OBJS += isdn_audio.o
endif
else
ifeq ($(CONFIG_ISDN),m)
M_OBJS += isdn.o
O_TARGET += isdn.o
O_OBJS += isdn_common.o isdn_net.o isdn_tty.o
OX_OBJS += isdn_syms.o
ifdef CONFIG_ISDN_PPP
O_OBJS += isdn_ppp.o
endif
ifdef CONFIG_ISDN_AUDIO
O_OBJS += isdn_audio.o
endif
endif
endif
ifeq ($(CONFIG_ISDN_DRV_HISAX),y)
L_OBJS += hisax/hisax.o
SUB_DIRS += hisax
MOD_SUB_DIRS += hisax
else
ifeq ($(CONFIG_ISDN_DRV_HISAX),m)
MOD_SUB_DIRS += hisax
endif
endif
ifeq ($(CONFIG_ISDN_DRV_ICN),y)
L_OBJS += icn/icn.o
SUB_DIRS += icn
MOD_SUB_DIRS += icn
else
ifeq ($(CONFIG_ISDN_DRV_ICN),m)
MOD_SUB_DIRS += icn
endif
endif
ifeq ($(CONFIG_ISDN_DRV_PCBIT),y)
L_OBJS += pcbit/pcbit.o
SUB_DIRS += pcbit
MOD_SUB_DIRS += pcbit
else
ifeq ($(CONFIG_ISDN_DRV_PCBIT),m)
MOD_SUB_DIRS += pcbit
endif
endif
ifeq ($(CONFIG_ISDN_DRV_SC),y)
L_OBJS += sc/sc.o
SUB_DIRS += sc
MOD_SUB_DIRS += sc
else
ifeq ($(CONFIG_ISDN_DRV_SC),m)
MOD_SUB_DIRS += sc
endif
endif
include $(TOPDIR)/Rules.make
|