summaryrefslogtreecommitdiffstats
path: root/tools/virtio/Makefile
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2010-12-14 11:33:23 -0800
committerDavid S. Miller <davem@davemloft.net>2010-12-14 11:33:23 -0800
commit9fe146aef44afe5ec677d8150b6ae94e09b773f7 (patch)
tree25342064d136f582e57c6c2ebf4ec62dc8c71576 /tools/virtio/Makefile
parent6389aa73ab8c15084fce18307a8e198eaff818da (diff)
parent4e53f78e5b06c073a5c10814c72e98c1ca8a9f10 (diff)
downloadop-kernel-dev-9fe146aef44afe5ec677d8150b6ae94e09b773f7.zip
op-kernel-dev-9fe146aef44afe5ec677d8150b6ae94e09b773f7.tar.gz
Merge branch 'vhost-net-next' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
Diffstat (limited to 'tools/virtio/Makefile')
-rw-r--r--tools/virtio/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/virtio/Makefile b/tools/virtio/Makefile
new file mode 100644
index 0000000..d1d442e
--- /dev/null
+++ b/tools/virtio/Makefile
@@ -0,0 +1,12 @@
+all: test mod
+test: virtio_test
+virtio_test: virtio_ring.o virtio_test.o
+CFLAGS += -g -O2 -Wall -I. -I ../../usr/include/ -Wno-pointer-sign -fno-strict-overflow -MMD
+vpath %.c ../../drivers/virtio
+mod:
+ ${MAKE} -C `pwd`/../.. M=`pwd`/vhost_test
+.PHONY: all test mod clean
+clean:
+ ${RM} *.o vhost_test/*.o vhost_test/.*.cmd \
+ vhost_test/Module.symvers vhost_test/modules.order *.d
+-include *.d
OpenPOWER on IntegriCloud