aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2008-07-03 11:47:46 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2008-07-03 11:47:46 +0000
commit2f7264888ab4a9595a40bd045f58101e5ccd2f0a (patch)
tree0f24cf44bf12b90bda404fb42cde3ab0a58acd19 /Makefile
parentFix typo (diff)
downloadqemu-kvm-2f7264888ab4a9595a40bd045f58101e5ccd2f0a.tar.gz
qemu-kvm-2f7264888ab4a9595a40bd045f58101e5ccd2f0a.tar.bz2
qemu-kvm-2f7264888ab4a9595a40bd045f58101e5ccd2f0a.zip
Add a parameter to disable host cache, by Laurent Vivier.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4836 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a4dcc5845..aabae78cd 100644
--- a/Makefile
+++ b/Makefile
@@ -177,8 +177,11 @@ qemu-img-%.o: %.c
%.o: %.c
$(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $<
+qemu-nbd-%.o: %.c
+ $(CC) $(CFLAGS) $(CPPFLAGS) -DQEMU_NBD -c -o $@ $<
+
qemu-nbd$(EXESUF): qemu-nbd.o nbd.o qemu-img-block.o \
- $(QEMU_IMG_BLOCK_OBJS)
+ osdep.o qemu-nbd-block-raw-posix.o $(BLOCK_OBJS)
$(CC) $(LDFLAGS) -o $@ $^ -lz $(LIBS)
# dyngen host tool