diff options
Diffstat (limited to 'tools/virtio/Makefile')
-rw-r--r-- | tools/virtio/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/tools/virtio/Makefile b/tools/virtio/Makefile index d1d442ed106a..3187c62d9814 100644 --- a/tools/virtio/Makefile +++ b/tools/virtio/Makefile | |||
@@ -1,12 +1,14 @@ | |||
1 | all: test mod | 1 | all: test mod |
2 | test: virtio_test | 2 | test: virtio_test vringh_test |
3 | virtio_test: virtio_ring.o virtio_test.o | 3 | virtio_test: virtio_ring.o virtio_test.o |
4 | CFLAGS += -g -O2 -Wall -I. -I ../../usr/include/ -Wno-pointer-sign -fno-strict-overflow -MMD | 4 | vringh_test: vringh_test.o vringh.o virtio_ring.o |
5 | vpath %.c ../../drivers/virtio | 5 | |
6 | CFLAGS += -g -O2 -Wall -I. -I ../../usr/include/ -Wno-pointer-sign -fno-strict-overflow -fno-strict-aliasing -fno-common -MMD -U_FORTIFY_SOURCE | ||
7 | vpath %.c ../../drivers/virtio ../../drivers/vhost | ||
6 | mod: | 8 | mod: |
7 | ${MAKE} -C `pwd`/../.. M=`pwd`/vhost_test | 9 | ${MAKE} -C `pwd`/../.. M=`pwd`/vhost_test |
8 | .PHONY: all test mod clean | 10 | .PHONY: all test mod clean |
9 | clean: | 11 | clean: |
10 | ${RM} *.o vhost_test/*.o vhost_test/.*.cmd \ | 12 | ${RM} *.o vringh_test virtio_test vhost_test/*.o vhost_test/.*.cmd \ |
11 | vhost_test/Module.symvers vhost_test/modules.order *.d | 13 | vhost_test/Module.symvers vhost_test/modules.order *.d |
12 | -include *.d | 14 | -include *.d |