1 |
1275 |
phoenix |
#
|
2 |
|
|
# Makefile for the kernel pcmcia subsystem (c/o David Hinds)
|
3 |
|
|
#
|
4 |
|
|
# Note! Dependencies are done automagically by 'make dep', which also
|
5 |
|
|
# removes any old dependencies. DON'T put your own dependencies here
|
6 |
|
|
# unless it's something special (ie not a .c file).
|
7 |
|
|
#
|
8 |
|
|
# Note 2! The CFLAGS definitions are now inherited from the
|
9 |
|
|
# parent makes..
|
10 |
|
|
|
11 |
|
|
O_TARGET := pcmcia.o
|
12 |
|
|
|
13 |
|
|
export-objs := ds.o cs.o yenta.o pci_socket.o
|
14 |
|
|
|
15 |
|
|
list-multi := pcmcia_core.o yenta_socket.o
|
16 |
|
|
|
17 |
|
|
yenta_socket-objs := pci_socket.o yenta.o
|
18 |
|
|
pcmcia_core-objs := cistpl.o rsrc_mgr.o bulkmem.o cs.o
|
19 |
|
|
|
20 |
|
|
ifeq ($(CONFIG_CARDBUS),y)
|
21 |
|
|
pcmcia_core-objs += cardbus.o
|
22 |
|
|
endif
|
23 |
|
|
|
24 |
|
|
ifeq ($(CONFIG_PCMCIA),y)
|
25 |
|
|
obj-y := cistpl.o rsrc_mgr.o bulkmem.o ds.o cs.o
|
26 |
|
|
ifeq ($(CONFIG_CARDBUS),y)
|
27 |
|
|
obj-y += cardbus.o yenta.o pci_socket.o
|
28 |
|
|
endif
|
29 |
|
|
ifeq ($(CONFIG_I82365),y)
|
30 |
|
|
obj-y += i82365.o
|
31 |
|
|
endif
|
32 |
|
|
ifeq ($(CONFIG_I82092),y)
|
33 |
|
|
obj-y += i82092.o
|
34 |
|
|
endif
|
35 |
|
|
ifeq ($(CONFIG_TCIC),y)
|
36 |
|
|
obj-y += tcic.o
|
37 |
|
|
endif
|
38 |
|
|
ifeq ($(CONFIG_HD64465_PCMCIA),y)
|
39 |
|
|
obj-y += hd64465_ss.o
|
40 |
|
|
endif
|
41 |
|
|
else
|
42 |
|
|
ifeq ($(CONFIG_PCMCIA),m)
|
43 |
|
|
obj-m := pcmcia_core.o ds.o
|
44 |
|
|
ifeq ($(CONFIG_I82365),y)
|
45 |
|
|
obj-m += i82365.o
|
46 |
|
|
endif
|
47 |
|
|
ifeq ($(CONFIG_I82092),y)
|
48 |
|
|
obj-m += i82092.o
|
49 |
|
|
endif
|
50 |
|
|
ifeq ($(CONFIG_TCIC),y)
|
51 |
|
|
obj-m += tcic.o
|
52 |
|
|
endif
|
53 |
|
|
ifeq ($(CONFIG_HD64465_PCMCIA),m)
|
54 |
|
|
obj-m += hd64465_ss.o
|
55 |
|
|
endif
|
56 |
|
|
ifeq ($(CONFIG_CARDBUS),y)
|
57 |
|
|
obj-m += yenta_socket.o
|
58 |
|
|
endif
|
59 |
|
|
endif
|
60 |
|
|
endif
|
61 |
|
|
|
62 |
|
|
obj-$(CONFIG_PCMCIA_AU1X00) += au1x00_ss.o
|
63 |
|
|
au1000_ss-objs-y := au1000_generic.o
|
64 |
|
|
au1000_ss-objs-$(CONFIG_PCMCIA_PB1X00) += au1000_pb1x00.o
|
65 |
|
|
au1000_ss-objs-$(CONFIG_PCMCIA_DB1X00) += au1000_db1x00.o
|
66 |
|
|
au1000_ss-objs-$(CONFIG_PCMCIA_XXS1500) += au1000_xxs1500.o
|
67 |
|
|
|
68 |
|
|
obj-$(CONFIG_PCMCIA_SA1100) += sa1100_cs.o
|
69 |
|
|
obj-$(CONFIG_PCMCIA_M8XX) += m8xx_pcmcia.o
|
70 |
|
|
obj-$(CONFIG_PCMCIA_SIBYTE) += sibyte_generic.o
|
71 |
|
|
|
72 |
|
|
sa1100_cs-objs-y := sa1100_generic.o
|
73 |
|
|
sa1100_cs-objs-$(CONFIG_SA1100_ADSBITSY) += sa1100_adsbitsy.o sa1111_generic.o
|
74 |
|
|
sa1100_cs-objs-$(CONFIG_SA1100_ASSABET) += sa1100_assabet.o
|
75 |
|
|
sa1100_cs-objs-$(CONFIG_ASSABET_NEPONSET) += sa1100_neponset.o sa1111_generic.o
|
76 |
|
|
sa1100_cs-objs-$(CONFIG_SA1100_BADGE4) += sa1100_badge4.o sa1111_generic.o
|
77 |
|
|
sa1100_cs-objs-$(CONFIG_SA1100_CERF) += sa1100_cerf.o
|
78 |
|
|
sa1100_cs-objs-$(CONFIG_SA1100_FLEXANET) += sa1100_flexanet.o
|
79 |
|
|
sa1100_cs-objs-$(CONFIG_SA1100_FREEBIRD) += sa1100_freebird.o
|
80 |
|
|
sa1100_cs-objs-$(CONFIG_SA1100_GRAPHICSMASTER) += sa1100_graphicsmaster.o sa1111_generic.o
|
81 |
|
|
sa1100_cs-objs-$(CONFIG_SA1100_GRAPHICSCLIENT) += sa1100_graphicsclient.o
|
82 |
|
|
sa1100_cs-objs-$(CONFIG_SA1100_H3600) += sa1100_h3600.o
|
83 |
|
|
sa1100_cs-objs-$(CONFIG_SA1100_JORNADA720) += sa1100_jornada720.o sa1111_generic.o
|
84 |
|
|
sa1100_cs-objs-$(CONFIG_SA1100_PANGOLIN) += sa1100_pangolin.o
|
85 |
|
|
sa1100_cs-objs-$(CONFIG_SA1100_PFS168) += sa1100_pfs168.o sa1111_generic.o
|
86 |
|
|
sa1100_cs-objs-$(CONFIG_SA1100_SHANNON) += sa1100_shannon.o
|
87 |
|
|
sa1100_cs-objs-$(CONFIG_SA1100_SIMPAD) += sa1100_simpad.o
|
88 |
|
|
sa1100_cs-objs-$(CONFIG_SA1100_STORK) += sa1100_stork.o
|
89 |
|
|
sa1100_cs-objs-$(CONFIG_SA1100_XP860) += sa1100_xp860.o sa1111_generic.o
|
90 |
|
|
sa1100_cs-objs-$(CONFIG_SA1100_YOPY) += sa1100_yopy.o
|
91 |
|
|
|
92 |
|
|
obj-$(CONFIG_PCMCIA_VRC4173) += vrc4173_cardu.o
|
93 |
|
|
|
94 |
|
|
include $(TOPDIR)/Rules.make
|
95 |
|
|
|
96 |
|
|
pcmcia_core.o: $(pcmcia_core-objs)
|
97 |
|
|
$(LD) $(LD_RFLAG) -r -o $@ $(pcmcia_core-objs)
|
98 |
|
|
|
99 |
|
|
sa1100_cs.o: $(sa1100_cs-objs-y)
|
100 |
|
|
$(LD) -r -o $@ $(sa1100_cs-objs-y)
|
101 |
|
|
|
102 |
|
|
au1x00_ss.o: $(au1000_ss-objs-y)
|
103 |
|
|
$(LD) -r -o $@ $(au1000_ss-objs-y)
|
104 |
|
|
|
105 |
|
|
yenta_socket.o: $(yenta_socket-objs)
|
106 |
|
|
$(LD) $(LD_RFLAG) -r -o $@ $(yenta_socket-objs)
|