aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/atm/Makefile
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:20:36 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:20:36 -0400
commit1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (patch)
tree0bba044c4ce775e45a88a51686b5d9f90697ea9d /drivers/atm/Makefile
Linux-2.6.12-rc2v2.6.12-rc2
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!
Diffstat (limited to 'drivers/atm/Makefile')
-rw-r--r--drivers/atm/Makefile71
1 files changed, 71 insertions, 0 deletions
diff --git a/drivers/atm/Makefile b/drivers/atm/Makefile
new file mode 100644
index 000000000000..d1dcd8eae3c9
--- /dev/null
+++ b/drivers/atm/Makefile
@@ -0,0 +1,71 @@
1#
2# Makefile for the Linux network (ATM) device drivers.
3#
4
5fore_200e-objs := fore200e.o
6hostprogs-y := fore200e_mkfirm
7
8# Files generated that shall be removed upon make clean
9clean-files := atmsar11.bin atmsar11.bin1 atmsar11.bin2 pca200e.bin \
10 pca200e.bin1 pca200e.bin2 pca200e_ecd.bin pca200e_ecd.bin1 \
11 pca200e_ecd.bin2 sba200e_ecd.bin sba200e_ecd.bin1 sba200e_ecd.bin2
12# Firmware generated that shall be removed upon make clean
13clean-files += fore200e_pca_fw.c fore200e_sba_fw.c
14
15obj-$(CONFIG_ATM_ZATM) += zatm.o uPD98402.o
16obj-$(CONFIG_ATM_NICSTAR) += nicstar.o
17obj-$(CONFIG_ATM_AMBASSADOR) += ambassador.o
18obj-$(CONFIG_ATM_HORIZON) += horizon.o
19obj-$(CONFIG_ATM_IA) += iphase.o suni.o
20obj-$(CONFIG_ATM_FORE200E) += fore_200e.o
21obj-$(CONFIG_ATM_ENI) += eni.o suni.o
22obj-$(CONFIG_ATM_IDT77252) += idt77252.o
23
24ifeq ($(CONFIG_ATM_NICSTAR_USE_SUNI),y)
25 obj-$(CONFIG_ATM_NICSTAR) += suni.o
26endif
27ifeq ($(CONFIG_ATM_NICSTAR_USE_IDT77105),y)
28 obj-$(CONFIG_ATM_NICSTAR) += idt77105.o
29endif
30ifeq ($(CONFIG_ATM_IDT77252_USE_SUNI),y)
31 obj-$(CONFIG_ATM_IDT77252) += suni.o
32endif
33
34obj-$(CONFIG_ATM_TCP) += atmtcp.o
35obj-$(CONFIG_ATM_FIRESTREAM) += firestream.o
36obj-$(CONFIG_ATM_LANAI) += lanai.o
37
38ifeq ($(CONFIG_ATM_FORE200E_PCA),y)
39 fore_200e-objs += fore200e_pca_fw.o
40 # guess the target endianess to choose the right PCA-200E firmware image
41 ifeq ($(CONFIG_ATM_FORE200E_PCA_DEFAULT_FW),y)
42 CONFIG_ATM_FORE200E_PCA_FW = $(shell if test -n "`$(CC) -E -dM $(src)/../../include/asm/byteorder.h | grep ' __LITTLE_ENDIAN '`"; then echo $(obj)/pca200e.bin; else echo $(obj)/pca200e_ecd.bin2; fi)
43 endif
44endif
45
46ifeq ($(CONFIG_ATM_FORE200E_SBA),y)
47 fore_200e-objs += fore200e_sba_fw.o
48 ifeq ($(CONFIG_ATM_FORE200E_SBA_DEFAULT_FW),y)
49 CONFIG_ATM_FORE200E_SBA_FW := $(obj)/sba200e_ecd.bin2
50 endif
51endif
52obj-$(CONFIG_ATM_HE) += he.o
53ifeq ($(CONFIG_ATM_HE_USE_SUNI),y)
54 obj-$(CONFIG_ATM_HE) += suni.o
55endif
56
57# FORE Systems 200E-series firmware magic
58$(obj)/fore200e_pca_fw.c: $(patsubst "%", %, $(CONFIG_ATM_FORE200E_PCA_FW)) \
59 $(obj)/fore200e_mkfirm
60 $(obj)/fore200e_mkfirm -k -b _fore200e_pca_fw \
61 -i $(CONFIG_ATM_FORE200E_PCA_FW) -o $@
62
63$(obj)/fore200e_sba_fw.c: $(patsubst "%", %, $(CONFIG_ATM_FORE200E_SBA_FW)) \
64 $(obj)/fore200e_mkfirm
65 $(obj)/fore200e_mkfirm -k -b _fore200e_sba_fw \
66 -i $(CONFIG_ATM_FORE200E_SBA_FW) -o $@
67
68# deal with the various suffixes of the binary firmware images
69$(obj)/%.bin $(obj)/%.bin1 $(obj)/%.bin2: $(src)/%.data
70 objcopy -Iihex $< -Obinary $@.gz
71 gzip -n -df $@.gz