OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rc203soc/] [sw/] [uClinux/] [drivers/] [isdn/] [Makefile] - Blame information for rev 1777

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1626 jcastillo
SUB_DIRS     :=
2
MOD_SUB_DIRS :=
3
ALL_SUB_DIRS := icn pcbit hisax avmb1
4
 
5
L_OBJS :=
6
LX_OBJS :=
7
M_OBJS :=
8
MX_OBJS :=
9
O_OBJS :=
10
OX_OBJS :=
11
L_TARGET :=
12
O_TARGET :=
13
 
14
ifeq ($(CONFIG_ISDN),y)
15
  L_TARGET := isdn.a
16
  L_OBJS += isdn_common.o isdn_net.o isdn_tty.o isdn_cards.o
17
  LX_OBJS += isdn_syms.o
18
  ifdef CONFIG_ISDN_PPP
19
    L_OBJS += isdn_ppp.o
20
  endif
21
  ifdef CONFIG_ISDN_AUDIO
22
    L_OBJS += isdn_audio.o
23
  endif
24
else
25
  ifeq ($(CONFIG_ISDN),m)
26
    M_OBJS += isdn.o
27
    O_TARGET += isdn.o
28
    O_OBJS += isdn_common.o isdn_net.o isdn_tty.o
29
    OX_OBJS += isdn_syms.o
30
    ifdef CONFIG_ISDN_PPP
31
      O_OBJS += isdn_ppp.o
32
    endif
33
    ifdef CONFIG_ISDN_AUDIO
34
      O_OBJS += isdn_audio.o
35
    endif
36
  endif
37
endif
38
 
39
ifeq ($(CONFIG_ISDN_DRV_HISAX),y)
40
  L_OBJS += hisax/hisax.o
41
  SUB_DIRS += hisax
42
  MOD_SUB_DIRS += hisax
43
else
44
  ifeq ($(CONFIG_ISDN_DRV_HISAX),m)
45
    MOD_SUB_DIRS += hisax
46
  endif
47
endif
48
 
49
ifeq ($(CONFIG_ISDN_DRV_ICN),y)
50
  L_OBJS += icn/icn.o
51
  SUB_DIRS += icn
52
  MOD_SUB_DIRS += icn
53
else
54
  ifeq ($(CONFIG_ISDN_DRV_ICN),m)
55
    MOD_SUB_DIRS += icn
56
  endif
57
endif
58
 
59
ifeq ($(CONFIG_ISDN_DRV_PCBIT),y)
60
  L_OBJS += pcbit/pcbit.o
61
  SUB_DIRS += pcbit
62
  MOD_SUB_DIRS += pcbit
63
else
64
  ifeq ($(CONFIG_ISDN_DRV_PCBIT),m)
65
    MOD_SUB_DIRS += pcbit
66
  endif
67
endif
68
 
69
ifeq ($(CONFIG_ISDN_DRV_SC),y)
70
  L_OBJS += sc/sc.o
71
  SUB_DIRS += sc
72
  MOD_SUB_DIRS += sc
73
else
74
  ifeq ($(CONFIG_ISDN_DRV_SC),m)
75
    MOD_SUB_DIRS += sc
76
  endif
77
endif
78
 
79
ifeq ($(CONFIG_ISDN_DRV_AVMB1),y)
80
  L_OBJS += avmb1/avmb1.o
81
  SUB_DIRS += avmb1
82
  MOD_SUB_DIRS += avmb1
83
else
84
  ifeq ($(CONFIG_ISDN_DRV_AVMB1),m)
85
    MOD_SUB_DIRS += avmb1
86
  endif
87
endif
88
 
89
ifeq ($(CONFIG_ISDN_DRV_LOOP),y)
90
  L_OBJS += isdnloop/isdnloop.o
91
  SUB_DIRS += isdnloop
92
  MOD_SUB_DIRS += isdnloop
93
else
94
  ifeq ($(CONFIG_ISDN_DRV_LOOP),m)
95
    MOD_SUB_DIRS += isdnloop
96
  endif
97
endif
98
 
99
include $(TOPDIR)/Rules.make
100
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.