# # Makefile for the Linux kernel advansys module # # scsi_syms.c dropped from kernel source at 2.6.21 NEED_SCSI_SYMS = $(shell echo $(VERSION) $(PATCHLEVEL) $(SUBLEVEL) | awk '{ if ($1 < 2 || $2 < 6 || $3 < 21) { print "y" } else { print "n" } }') scsi_mod-y += scsi.o hosts.o scsi_ioctl.o constants.o \ scsicam.o scsi_error.o scsi_lib.o \ scsi_scan.o scsi_sysfs.o scsi_devinfo.o ifeq ($(strip $(NEED_SCSI_SYMS)),y) scsi_mod-y += scsi_syms.o endif obj-m := advansys.o scsi_mod.o