From: Yi Zou <yi.zou@intel.com>
To: linux-scsi@vger.kernel.org
Subject: [PATCH 1/6] [FCoE] Fix the openfc Makefile to build as included in kernel
Date: Thu, 07 Feb 2008 00:21:11 -0800 [thread overview]
Message-ID: <20080207082111.28965.67934.stgit@localhost.localdomain> (raw)
The current build for openfc will fail as it only builds as module.
Signed-off-by: Yi Zou <yi.zou@intel.com>
---
drivers/scsi/ofc/openfc/Makefile | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/drivers/scsi/ofc/openfc/Makefile b/drivers/scsi/ofc/openfc/Makefile
index 00606a2..9309266 100644
--- a/drivers/scsi/ofc/openfc/Makefile
+++ b/drivers/scsi/ofc/openfc/Makefile
@@ -9,7 +9,10 @@ openfc-y := \
openfc_if.o \
openfc_ioctl.o \
openfc_pkt.o \
- openfc_scsi.o \
- ../libfc/libfc.o \
- ../libsa/libsa.o \
- ../libcrc/libcrc.o
+ openfc_scsi.o
+
+ifeq ($(CONFIG_OFC),m)
+ openfc-y += ../libfc/libfc.o \
+ ../libsa/libsa.o \
+ ../libcrc/libcrc.o
+endif
next reply other threads:[~2008-02-07 8:33 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-07 8:21 Yi Zou [this message]
2008-02-07 8:21 ` [PATCH 2/6] [FCoE] hash for fc_remote_port: do not use sa_hash_xxx Yi Zou
2008-02-07 8:21 ` [PATCH 3/6] [FCoE] hash for fc_sess: " Yi Zou
2008-02-07 8:21 ` [PATCH 4/6] [FCoE] hash for fc_local_port: " Yi Zou
2008-02-07 8:21 ` [PATCH 5/6] [FCoE] remove hash tables from fc_virt_fab Yi Zou
2008-02-07 8:21 ` [PATCH 6/6] [FCoE] remove sa_hash_kern.c/sa_hash.h Yi Zou
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080207082111.28965.67934.stgit@localhost.localdomain \
--to=yi.zou@intel.com \
--cc=linux-scsi@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox