Files
scst/qla_isp/linux-2.6/Makefile
Stanislaw Gruszka dc71cd464c Synchronize with Feral CVS repository:
Add unit attention injection. Fix some ridiculous Sense things.

Say why we couldn't pci register the driver.

Make isp_thread_event return an int if it fails to send the event. If it
fails to send the event, and this was for the 24XX card finding out the
initiator for a command, return the command with a BUSY status.

An N-port handle of zero is legal for a 24XX.

Add some more special N-Port handle definitions for 2K f/w.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@265 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2008-02-12 09:40:40 +00:00

64 lines
1.5 KiB
Makefile

# $Id: Makefile,v 1.9 2007/12/11 22:19:39 mjacob Exp $
#
# Makefile
#
# Copyright (c) 2006-2007 by Matthew Jacob
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of The Version 2 GNU General Public License as published
# by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#
#
# Matthew Jacob
# Feral Software
# 421 Laurel Avenue
# Menlo Park, CA 94025
# USA
#
# gpl at feral com
#
ifndef KDIR
LVERS = $(shell uname -r)
LINUX ?= /lib/modules/${LVERS}/build
else
LINUX = ${KDIR}
endif
all: links
@$(MAKE) -C ${LINUX} M=${CURDIR}/build
tgt: links
@$(MAKE) -C ${LINUX} M=${CURDIR}/build ISP_TARGET_MODE=1
clean:
@$(MAKE) -C ${LINUX} M=${CURDIR}/build clean
@$(MAKE) -C build clean_links
@$(RM) tags
install:
@$(MAKE) -C ${LINUX} M=${CURDIR}/build modules_install
install_host_progs:
@$(MAKE) -C build $@
links:
@$(MAKE) -C build make_links
tools:
cd ../linux && $(MAKE) tools
tags: FRC
@ctags --recurse --append=no --exclude=linux-2.6 --exclude=Makefile --exclude=freebsd --exclude=solaris ../
FRC: