Makefile (fde6af4729b005dc9dc936b0ed9f1b27b5b2d0f4) Makefile (3ee25e8ff52156c8c74a0893e10430ed93aec7a8)
1#
2# Makefile for the Linux aic7xxx SCSI driver.
3#
4# $Id: //depot/linux-aic79xx-2.5.0/drivers/scsi/aic7xxx/Makefile#8 $
5#
6
7# Let kbuild descend into aicasm when cleaning
8subdir- += aicasm

--- 45 unchanged lines hidden (view full) ---

54 -p $(obj)/aic7xxx_reg_print.c -i aic7xxx_osm.h
55
56ifeq ($(CONFIG_AIC7XXX_BUILD_FIRMWARE),y)
57$(obj)/aic7xxx_seq.h: $(src)/aic7xxx.seq $(src)/aic7xxx.reg $(obj)/aicasm/aicasm
58 $(obj)/aicasm/aicasm -I$(srctree)/$(src) -r $(obj)/aic7xxx_reg.h \
59 $(aicasm-7xxx-opts-y) -o $(obj)/aic7xxx_seq.h \
60 $(srctree)/$(src)/aic7xxx.seq
61
1#
2# Makefile for the Linux aic7xxx SCSI driver.
3#
4# $Id: //depot/linux-aic79xx-2.5.0/drivers/scsi/aic7xxx/Makefile#8 $
5#
6
7# Let kbuild descend into aicasm when cleaning
8subdir- += aicasm

--- 45 unchanged lines hidden (view full) ---

54 -p $(obj)/aic7xxx_reg_print.c -i aic7xxx_osm.h
55
56ifeq ($(CONFIG_AIC7XXX_BUILD_FIRMWARE),y)
57$(obj)/aic7xxx_seq.h: $(src)/aic7xxx.seq $(src)/aic7xxx.reg $(obj)/aicasm/aicasm
58 $(obj)/aicasm/aicasm -I$(srctree)/$(src) -r $(obj)/aic7xxx_reg.h \
59 $(aicasm-7xxx-opts-y) -o $(obj)/aic7xxx_seq.h \
60 $(srctree)/$(src)/aic7xxx.seq
61
62$(aic7xxx-gen-y): $(obj)/aic7xxx_seq.h
62$(aic7xxx-gen-y): $(objtree)/$(obj)/aic7xxx_seq.h
63 @true
63else
64$(obj)/aic7xxx_reg_print.c: $(src)/aic7xxx_reg_print.c_shipped
65endif
66
67aic79xx-gen-$(CONFIG_AIC79XX_BUILD_FIRMWARE) := $(obj)/aic79xx_reg.h
68aic79xx-gen-$(CONFIG_AIC79XX_REG_PRETTY_PRINT) += $(obj)/aic79xx_reg_print.c
69
70aicasm-79xx-opts-$(CONFIG_AIC79XX_REG_PRETTY_PRINT) := \
71 -p $(obj)/aic79xx_reg_print.c -i aic79xx_osm.h
72
73ifeq ($(CONFIG_AIC79XX_BUILD_FIRMWARE),y)
74$(obj)/aic79xx_seq.h: $(src)/aic79xx.seq $(src)/aic79xx.reg $(obj)/aicasm/aicasm
75 $(obj)/aicasm/aicasm -I$(srctree)/$(src) -r $(obj)/aic79xx_reg.h \
76 $(aicasm-79xx-opts-y) -o $(obj)/aic79xx_seq.h \
77 $(srctree)/$(src)/aic79xx.seq
78
64else
65$(obj)/aic7xxx_reg_print.c: $(src)/aic7xxx_reg_print.c_shipped
66endif
67
68aic79xx-gen-$(CONFIG_AIC79XX_BUILD_FIRMWARE) := $(obj)/aic79xx_reg.h
69aic79xx-gen-$(CONFIG_AIC79XX_REG_PRETTY_PRINT) += $(obj)/aic79xx_reg_print.c
70
71aicasm-79xx-opts-$(CONFIG_AIC79XX_REG_PRETTY_PRINT) := \
72 -p $(obj)/aic79xx_reg_print.c -i aic79xx_osm.h
73
74ifeq ($(CONFIG_AIC79XX_BUILD_FIRMWARE),y)
75$(obj)/aic79xx_seq.h: $(src)/aic79xx.seq $(src)/aic79xx.reg $(obj)/aicasm/aicasm
76 $(obj)/aicasm/aicasm -I$(srctree)/$(src) -r $(obj)/aic79xx_reg.h \
77 $(aicasm-79xx-opts-y) -o $(obj)/aic79xx_seq.h \
78 $(srctree)/$(src)/aic79xx.seq
79
79$(aic79xx-gen-y): $(obj)/aic79xx_seq.h
80$(aic79xx-gen-y): $(objtree)/$(obj)/aic79xx_seq.h
81 @true
80else
81$(obj)/aic79xx_reg_print.c: $(src)/aic79xx_reg_print.c_shipped
82endif
83
84$(obj)/aicasm/aicasm: $(srctree)/$(src)/aicasm/*.[chyl]
85 $(MAKE) -C $(srctree)/$(src)/aicasm OUTDIR=$(shell pwd)/$(obj)/aicasm/
82else
83$(obj)/aic79xx_reg_print.c: $(src)/aic79xx_reg_print.c_shipped
84endif
85
86$(obj)/aicasm/aicasm: $(srctree)/$(src)/aicasm/*.[chyl]
87 $(MAKE) -C $(srctree)/$(src)/aicasm OUTDIR=$(shell pwd)/$(obj)/aicasm/