Commit ebf826e1 authored by Kai Germaschewski's avatar Kai Germaschewski

Cleanup aic7xxx build

Forward port changes from 2.4.19-pre, originally by Keith Owens.
This driver used to build a module target called "aic7xxx_mod.o" and
introduced the MOD_TARGET variable to rename it to "aic7xxx.o" at
modules_install time.
    
Now, we just build "aic7xxx.o" directly, which becomes possible after
renaming aic7xxx.c to aic7xxx_core.c, as done in 2.4.19-pre.
parent 47773857
......@@ -3,22 +3,21 @@
#
O_TARGET := aic7xxx_drv.o
MOD_TARGET = aic7xxx.o
obj-$(CONFIG_SCSI_AIC7XXX) += aic7xxx_mod.o
obj-$(CONFIG_SCSI_AIC7XXX) += aic7xxx.o
# Core files
aic7xxx_mod-objs += aic7xxx.o aic7xxx_93cx6.o aic7770.o
aic7xxx-objs += aic7xxx_core.o aic7xxx_93cx6.o aic7770.o
# Platform Specific Files
aic7xxx_mod-objs += aic7xxx_linux.o aic7xxx_proc.o aic7770_linux.o
aic7xxx-objs += aic7xxx_linux.o aic7xxx_proc.o aic7770_linux.o
# PCI Specific Files
ifeq ($(CONFIG_PCI),y)
# Core PCI files
aic7xxx_mod-objs += aic7xxx_pci.o
aic7xxx-objs += aic7xxx_pci.o
# Platform Specific PCI Files
aic7xxx_mod-objs += aic7xxx_linux_pci.o
aic7xxx-objs += aic7xxx_linux_pci.o
endif
#EXTRA_CFLAGS += -g
......@@ -32,5 +31,3 @@ endif
aicasm/aicasm: aicasm/*.[chyl]
$(MAKE) -C aicasm
aix7xxx_mod.o: aic7xxx_seq.h aic7xxx_reg.h
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment