Commit 3980957c authored by Linus Torvalds's avatar Linus Torvalds Committed by Linus Torvalds

Fix aic7xxx Makefile for multi-obj cleanup

parent b85f47ad
...@@ -3,27 +3,23 @@ ...@@ -3,27 +3,23 @@
# #
O_TARGET := aic7xxx_drv.o O_TARGET := aic7xxx_drv.o
MOD_TARGET = aic7xxx.o
obj-$(CONFIG_SCSI_AIC7XXX) += aic7xxx_mod.o # Core files
obj-$(CONFIG_SCSI_AIC7XXX) += aic7xxx.o aic7xxx_93cx6.o aic7770.o
#EXTRA_CFLAGS += -g
# Platform Specific Files # Platform Specific Files
AIC7XXX_OBJS = aic7xxx_linux.o obj-$(CONFIG_SCSI_AIC7XXX) += aic7xxx_linux.o aic7xxx_proc.o aic7770_linux.o
AIC7XXX_OBJS += aic7xxx_proc.o aic7770_linux.o
#PCI Specific Platform Files # PCI Specific Files
ifeq ($(CONFIG_PCI),y)
AIC7XXX_OBJS += aic7xxx_linux_pci.o
endif
# Core Files
AIC7XXX_OBJS += aic7xxx.o aic7xxx_93cx6.o aic7770.o
#PCI Specific Core Files
ifeq ($(CONFIG_PCI),y) ifeq ($(CONFIG_PCI),y)
AIC7XXX_OBJS += aic7xxx_pci.o # Core PCI files
obj-$(CONFIG_SCSI_AIC7XXX) += aic7xxx_pci.o
# Platform Specific PCI Files
obj-$(CONFIG_SCSI_AIC7XXX) += aic7xxx_linux_pci.o
endif endif
# Override our module desitnation #EXTRA_CFLAGS += -g
MOD_TARGET = aic7xxx.o
include $(TOPDIR)/Rules.make include $(TOPDIR)/Rules.make
......
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