ia64/xen-unstable

view linux-2.4.29-xen-sparse/drivers/scsi/aic7xxx/Makefile @ 4836:a22acf8b8127

bitkeeper revision 1.1389.9.5 (4280ce45ySNP-9TH6XPIhkIZcGy1LA)

Fix bugs in hyperprivop counting
author djm@kirby.fc.hp.com
date Tue May 10 15:07:49 2005 +0000 (2005-05-10)
parents 0a4b76b6b5a0
children
line source
1 #
2 # drivers/scsi/aic7xxx/Makefile
3 #
4 # Makefile for the Linux aic7xxx SCSI driver.
5 #
7 O_TARGET := aic7xxx_drv.o
9 list-multi := aic7xxx.o aic79xx.o
11 obj-$(CONFIG_SCSI_AIC7XXX) += aic7xxx.o
12 ifeq ($(CONFIG_PCI),y)
13 obj-$(CONFIG_SCSI_AIC79XX) += aic79xx.o
14 endif
16 EXTRA_CFLAGS += -I$(TOPDIR)/drivers/scsi -Werror
17 #EXTRA_CFLAGS += -g
19 # Platform Specific Files
20 obj-aic7xxx = aic7xxx_osm.o aic7xxx_proc.o
22 # Core Files
23 obj-aic7xxx += aic7xxx_core.o aic7xxx_93cx6.o
24 ifeq ($(CONFIG_AIC7XXX_REG_PRETTY_PRINT),y)
25 obj-aic7xxx += aic7xxx_reg_print.o
26 endif
28 #EISA Specific Files
29 AIC7XXX_EISA_ARCH = $(filter i386 alpha xen,$(ARCH))
30 ifneq ($(AIC7XXX_EISA_ARCH),)
31 obj-aic7xxx += aic7770.o
32 # Platform Specific EISA Files
33 obj-aic7xxx += aic7770_osm.o
34 endif
36 #PCI Specific Files
37 ifeq ($(CONFIG_PCI),y)
38 obj-aic7xxx += aic7xxx_pci.o
39 # Platform Specific PCI Files
40 obj-aic7xxx += aic7xxx_osm_pci.o
41 endif
43 # Platform Specific U320 Files
44 obj-aic79xx = aic79xx_osm.o aic79xx_proc.o aic79xx_osm_pci.o
45 # Core Files
46 obj-aic79xx += aic79xx_core.o aic79xx_pci.o
47 ifeq ($(CONFIG_AIC79XX_REG_PRETTY_PRINT),y)
48 obj-aic79xx += aic79xx_reg_print.o
49 endif
51 # Override our module desitnation
52 MOD_DESTDIR = $(shell cd .. && $(CONFIG_SHELL) $(TOPDIR)/scripts/pathdown.sh)
54 include $(TOPDIR)/Rules.make
56 aic7xxx_core.o: aic7xxx_seq.h
57 $(obj-aic7xxx): aic7xxx_reg.h
58 aic7xxx.o: aic7xxx_seq.h aic7xxx_reg.h $(obj-aic7xxx)
59 $(LD) $(LD_RFLAG) -r -o $@ $(obj-aic7xxx)
61 aic79xx_core.o: aic79xx_seq.h
62 $(obj-aic79xx): aic79xx_reg.h
63 aic79xx.o: aic79xx_seq.h aic79xx_reg.h $(obj-aic79xx)
64 $(LD) $(LD_RFLAG) -r -o $@ $(obj-aic79xx)
66 ifeq ($(CONFIG_AIC7XXX_BUILD_FIRMWARE),y)
67 aic7xxx_gen = aic7xxx_seq.h aic7xxx_reg.h
68 ifeq ($(CONFIG_AIC7XXX_REG_PRETTY_PRINT),y)
69 aic7xxx_gen += aic7xxx_reg_print.c
70 aic7xxx_asm_cmd = aicasm/aicasm -I. -r aic7xxx_reg.h \
71 -p aic7xxx_reg_print.c -i aic7xxx_osm.h \
72 -o aic7xxx_seq.h aic7xxx.seq
73 else
74 aic7xxx_asm_cmd = aicasm/aicasm -I. -r aic7xxx_reg.h \
75 -o aic7xxx_seq.h aic7xxx.seq
76 endif
77 $(aic7xxx_gen): aic7xxx.seq aic7xxx.reg aicasm/aicasm
78 $(aic7xxx_asm_cmd)
79 endif
81 ifeq ($(CONFIG_AIC79XX_BUILD_FIRMWARE),y)
82 aic79xx_gen = aic79xx_seq.h aic79xx_reg.h
83 ifeq ($(CONFIG_AIC79XX_REG_PRETTY_PRINT),y)
84 aic79xx_gen += aic79xx_reg_print.c
85 aic79xx_asm_cmd = aicasm/aicasm -I. -r aic79xx_reg.h \
86 -p aic79xx_reg_print.c -i aic79xx_osm.h \
87 -o aic79xx_seq.h aic79xx.seq
88 else
89 aic79xx_asm_cmd = aicasm/aicasm -I. -r aic79xx_reg.h \
90 -o aic79xx_seq.h aic79xx.seq
91 endif
92 $(aic79xx_gen): aic79xx.seq aic79xx.reg aicasm/aicasm
93 $(aic79xx_asm_cmd)
94 endif
96 aicasm/aicasm: aicasm/*.[chyl]
97 $(MAKE) -C aicasm