qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 14/14] iscsi support


From: ronniesahlberg
Subject: [Qemu-devel] [PATCH 14/14] iscsi support
Date: Fri, 3 Dec 2010 22:09:53 +1100

From: Ronnie Sahlberg <address@hidden>

add iscsi.c and the iscsi library to the makefile sot it gets built

Signed-off-by: Ronnie Sahlberg <address@hidden>
---
 Makefile      |    2 +-
 Makefile.objs |    9 +++++++++
 2 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/Makefile b/Makefile
index c80566c..6efdf14 100644
--- a/Makefile
+++ b/Makefile
@@ -178,7 +178,7 @@ clean:
        rm -f config.mak op-i386.h opc-i386.h gen-op-i386.h op-arm.h opc-arm.h 
gen-op-arm.h
        rm -f qemu-options.def
        rm -f *.o *.d *.a $(TOOLS) TAGS cscope.* *.pod *~ */*~
-       rm -f slirp/*.o slirp/*.d audio/*.o audio/*.d block/*.o block/*.d 
net/*.o net/*.d fsdev/*.o fsdev/*.d ui/*.o ui/*.d
+       rm -f slirp/*.o slirp/*.d audio/*.o audio/*.d block/*.o block/*.d 
block/iscsi/*.o block/iscsi/*.d net/*.o net/*.d fsdev/*.o fsdev/*.d ui/*.o 
ui/*.d
        rm -f qemu-img-cmds.h
        rm -f trace.c trace.h trace.c-timestamp trace.h-timestamp
        rm -f trace-dtrace.dtrace trace-dtrace.dtrace-timestamp
diff --git a/Makefile.objs b/Makefile.objs
index 04625eb..ae03a7e 100644
--- a/Makefile.objs
+++ b/Makefile.objs
@@ -27,6 +27,15 @@ block-nested-$(CONFIG_CURL) += curl.o
 
 block-obj-y +=  $(addprefix block/, $(block-nested-y))
 
+block-iscsi-nested-y += connect.o crc32c.o discovery.o init.o login.o nop.o
+block-iscsi-nested-y += pdu.o scsi-command.o scsi-lowlevel.o socket.o
+block-iscsi-nested-y += sync.o
+
+block-iscsi-obj-y = iscsi.o
+block-iscsi-obj-y +=  $(addprefix iscsi/, $(block-iscsi-nested-y))
+
+block-obj-$(CONFIG_POSIX) +=  $(addprefix block/, $(block-iscsi-obj-y))
+
 net-obj-y = net.o
 net-nested-y = queue.o checksum.o util.o
 net-nested-y += socket.o
-- 
1.7.3.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]