mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-20 04:01:26 +00:00
svn+ssh://yanb123@svn.code.sf.net/p/scst/svn/branches/3.0.x
................
r5671 | bvassche | 2014-07-10 09:27:29 +0300 (Thu, 10 Jul 2014) | 1 line
scst: Create /var/lib/scst/pr and /var/lib/scst/vdev_mode_pages during installation (merge r5669 and r5670 from trunk)
................
r5687 | bvassche | 2014-07-20 08:59:31 +0300 (Sun, 20 Jul 2014) | 1 line
iscsi-scst: Handle data buffers with non-zero offset correctly (merge r5683 from trunk)
................
r5688 | bvassche | 2014-07-20 09:01:49 +0300 (Sun, 20 Jul 2014) | 1 line
Makefile: Only report which RPMs have been built if "make rpm" is run as a non-privileged user (merge r5560 from trunk)
................
r5689 | bvassche | 2014-07-20 09:03:55 +0300 (Sun, 20 Jul 2014) | 1 line
fcst: Remove an unused variable (merge r5605 from trunk)
................
r5690 | bvassche | 2014-07-20 09:04:43 +0300 (Sun, 20 Jul 2014) | 1 line
fcst: Move exch_done() calls into ft_cmd_done() (merge r5606 from trunk)
................
r5691 | bvassche | 2014-07-20 09:05:27 +0300 (Sun, 20 Jul 2014) | 1 line
fcst: Handle frame send failures properly (merge r5607 from trunk)
................
r5692 | bvassche | 2014-07-20 09:07:57 +0300 (Sun, 20 Jul 2014) | 1 line
qla2x00t: Documentation / source code comment / log messages spelling fix (merge r5555 from trunk)
................
r5693 | bvassche | 2014-07-20 09:46:28 +0300 (Sun, 20 Jul 2014) | 1 line
scst: Make lockdep_assert_held() easier to use (merge r5573 from trunk)
................
r5694 | bvassche | 2014-07-20 09:47:58 +0300 (Sun, 20 Jul 2014) | 1 line
scst: Leave out FSF mail address (merge r5572 from trunk)
................
r5695 | bvassche | 2014-07-20 09:52:12 +0300 (Sun, 20 Jul 2014) | 1 line
Change BUG_ON(1) into BUG() (merge r5618 from trunk)
................
r5696 | bvassche | 2014-07-20 09:54:00 +0300 (Sun, 20 Jul 2014) | 1 line
iscsi-scst: Suppress a compiler warning (merge r5614 from trunk)
................
r5697 | bvassche | 2014-07-20 10:03:04 +0300 (Sun, 20 Jul 2014) | 1 line
scst/include/scst.h: Define lockdep_assert_held() only once (follow-up for r5693)
................
r5723 | vlnb | 2014-08-21 08:21:55 +0300 (Thu, 21 Aug 2014) | 11 lines
Merged revisions 5721 via svnmerge from
svn+ssh://vlnb@svn.code.sf.net/p/scst/svn/trunk
........
r5721 | vlnb | 2014-08-20 22:17:47 -0700 (Wed, 20 Aug 2014) | 5 lines
Fix incorrect address computation during receive PDUs preparations
Found and fix suggested by Кирилл Тюшев <kirill.tyushev8@gmail.com>
........
................
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x-iser@5739 d57e44dd-8a1f-0410-8b47-8ef2f437770f
101 lines
2.3 KiB
Makefile
101 lines
2.3 KiB
Makefile
# $Id: Makefile,v 1.11 2008/03/15 18:17:51 mjacob Exp $
|
|
#
|
|
# Makefile
|
|
#
|
|
# Copyright (c) 2006-2008 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.
|
|
#
|
|
#
|
|
# 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
|
|
|
|
M ?= $(CURDIR)
|
|
TDIR = $(M)/../
|
|
SCST_INC = ${TDIR}/../scst/include
|
|
SCST_DIR = ${TDIR}/../scst/src
|
|
|
|
all: links
|
|
@$(MAKE) -C ${LINUX} M=${CURDIR}/build
|
|
|
|
tgt: links Modules.symvers Module.symvers
|
|
@$(MAKE) -C ${LINUX} M=${CURDIR}/build SCST_INC=$(SCST_INC) ISP_TARGET_MODE=1
|
|
|
|
clean:
|
|
@$(MAKE) -C ${LINUX} M=${CURDIR}/build clean
|
|
@$(MAKE) -C build clean_links
|
|
@$(RM) tags Modules.symvers Module.symvers
|
|
|
|
extraclean: clean
|
|
rm -f *.orig *.rej
|
|
|
|
install:
|
|
@$(MAKE) -C ${LINUX} M=${CURDIR}/build \
|
|
$$([ -n "$(DESTDIR)$(INSTALL_MOD_PATH)" ] && echo DEPMOD=true) \
|
|
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 ../linux ../common ../../scst
|
|
|
|
FRC:
|
|
|
|
SCST_MOD_VERS := $(shell ls $(SCST_DIR)/Modules.symvers 2>/dev/null)
|
|
ifneq ($(SCST_MOD_VERS),)
|
|
Modules.symvers: $(SCST_DIR)/Modules.symvers
|
|
cp $(SCST_DIR)/Modules.symvers ${CURDIR}/build
|
|
else
|
|
.PHONY: Modules.symvers
|
|
endif
|
|
|
|
# It's renamed in 2.6.18
|
|
SCST_MOD_VERS := $(shell ls $(SCST_DIR)/Module.symvers 2>/dev/null)
|
|
ifneq ($(SCST_MOD_VERS),)
|
|
Module.symvers: $(SCST_DIR)/Module.symvers
|
|
cp $(SCST_DIR)/Module.symvers ${CURDIR}/build
|
|
else
|
|
.PHONY: Module.symvers
|
|
endif
|
|
|
|
KVER := $(shell cat ${LINUX}/.kernelrelease 2> /dev/null )
|
|
ifeq ($(KVER),)
|
|
KVER := $(shell cat ${LINUX}/include/config/kernel.release 2> /dev/null )
|
|
endif
|
|
|
|
uninstall:
|
|
rm -f /lib/modules/${KVER}/extra/isp_mod.ko
|
|
rm -f /lib/modules/${KVER}/extra/isp_scst.ko
|
|
-/sbin/depmod -a ${KVER}
|
|
|
|
|