public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/6] [FCoE] Fix the openfc Makefile to build as included in kernel
@ 2008-02-07  8:21 Yi Zou
  2008-02-07  8:21 ` [PATCH 2/6] [FCoE] hash for fc_remote_port: do not use sa_hash_xxx Yi Zou
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Yi Zou @ 2008-02-07  8:21 UTC (permalink / raw)
  To: linux-scsi

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


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-02-07  8:33 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-07  8:21 [PATCH 1/6] [FCoE] Fix the openfc Makefile to build as included in kernel Yi Zou
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox