The current build for openfc will fail as it only builds as module.

Signed-off-by: Yi Zou <[EMAIL PROTECTED]>
---

 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

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to