📄 makefile
字号:
## drivers/scsi/aic7xxx/Makefile## Makefile for the Linux aic7xxx SCSI driver.#O_TARGET := aic7xxx_drv.olist-multi := aic7xxx.o aic79xx.oobj-$(CONFIG_SCSI_AIC7XXX) += aic7xxx.oifeq ($(CONFIG_PCI),y)obj-$(CONFIG_SCSI_AIC79XX) += aic79xx.oendifEXTRA_CFLAGS += -I$(TOPDIR)/drivers/scsi -Werror#EXTRA_CFLAGS += -g# Platform Specific Filesobj-aic7xxx = aic7xxx_osm.o aic7xxx_proc.o# Core Filesobj-aic7xxx += aic7xxx_core.o aic7xxx_93cx6.oifeq ($(CONFIG_AIC7XXX_REG_PRETTY_PRINT),y)obj-aic7xxx += aic7xxx_reg_print.oendif#EISA Specific FilesAIC7XXX_EISA_ARCH = $(filter i386 alpha,$(ARCH))ifneq ($(AIC7XXX_EISA_ARCH),)obj-aic7xxx += aic7770.o# Platform Specific EISA Filesobj-aic7xxx += aic7770_osm.oendif#PCI Specific Filesifeq ($(CONFIG_PCI),y)obj-aic7xxx += aic7xxx_pci.o# Platform Specific PCI Filesobj-aic7xxx += aic7xxx_osm_pci.oendif# Platform Specific U320 Filesobj-aic79xx = aic79xx_osm.o aic79xx_proc.o aic79xx_osm_pci.o# Core Filesobj-aic79xx += aic79xx_core.o aic79xx_pci.oifeq ($(CONFIG_AIC79XX_REG_PRETTY_PRINT),y)obj-aic79xx += aic79xx_reg_print.oendif# Override our module desitnationMOD_DESTDIR = $(shell cd .. && $(CONFIG_SHELL) $(TOPDIR)/scripts/pathdown.sh)include $(TOPDIR)/Rules.makeaic7xxx_core.o: aic7xxx_seq.h$(obj-aic7xxx): aic7xxx_reg.haic7xxx.o: aic7xxx_seq.h aic7xxx_reg.h $(obj-aic7xxx) $(LD) $(LD_RFLAG) -r -o $@ $(obj-aic7xxx)aic79xx_core.o: aic79xx_seq.h$(obj-aic79xx): aic79xx_reg.haic79xx.o: aic79xx_seq.h aic79xx_reg.h $(obj-aic79xx) $(LD) $(LD_RFLAG) -r -o $@ $(obj-aic79xx)ifeq ($(CONFIG_AIC7XXX_BUILD_FIRMWARE),y)aic7xxx_gen = aic7xxx_seq.h aic7xxx_reg.hifeq ($(CONFIG_AIC7XXX_REG_PRETTY_PRINT),y)aic7xxx_gen += aic7xxx_reg_print.caic7xxx_asm_cmd = aicasm/aicasm -I. -r aic7xxx_reg.h \ -p aic7xxx_reg_print.c -i aic7xxx_osm.h \ -o aic7xxx_seq.h aic7xxx.seqelseaic7xxx_asm_cmd = aicasm/aicasm -I. -r aic7xxx_reg.h \ -o aic7xxx_seq.h aic7xxx.seqendif$(aic7xxx_gen): aic7xxx.seq aic7xxx.reg aicasm/aicasm $(aic7xxx_asm_cmd)endififeq ($(CONFIG_AIC79XX_BUILD_FIRMWARE),y)aic79xx_gen = aic79xx_seq.h aic79xx_reg.hifeq ($(CONFIG_AIC79XX_REG_PRETTY_PRINT),y)aic79xx_gen += aic79xx_reg_print.caic79xx_asm_cmd = aicasm/aicasm -I. -r aic79xx_reg.h \ -p aic79xx_reg_print.c -i aic79xx_osm.h \ -o aic79xx_seq.h aic79xx.seqelseaic79xx_asm_cmd = aicasm/aicasm -I. -r aic79xx_reg.h \ -o aic79xx_seq.h aic79xx.seqendif$(aic79xx_gen): aic79xx.seq aic79xx.reg aicasm/aicasm $(aic79xx_asm_cmd)endifaicasm/aicasm: aicasm/*.[chyl] $(MAKE) -C aicasm
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -