Blame view
tools/virtio/Makefile
629 Bytes
b24413180
|
1 |
# SPDX-License-Identifier: GPL-2.0 |
4e53f78e5
|
2 |
all: test mod |
1515c5ce2
|
3 |
test: virtio_test vringh_test |
4e53f78e5
|
4 |
virtio_test: virtio_ring.o virtio_test.o |
1515c5ce2
|
5 |
vringh_test: vringh_test.o vringh.o virtio_ring.o |
1620ecb8b
|
6 |
CFLAGS += -g -O2 -Werror -Wall -I. -I../include/ -I ../../usr/include/ -Wno-pointer-sign -fno-strict-overflow -fno-strict-aliasing -fno-common -MMD -U_FORTIFY_SOURCE |
1515c5ce2
|
7 |
vpath %.c ../../drivers/virtio ../../drivers/vhost |
4e53f78e5
|
8 |
mod: |
fd2e8d430
|
9 |
${MAKE} -C `pwd`/../.. M=`pwd`/vhost_test V=${V} |
4e53f78e5
|
10 11 |
.PHONY: all test mod clean clean: |
1515c5ce2
|
12 |
${RM} *.o vringh_test virtio_test vhost_test/*.o vhost_test/.*.cmd \ |
4e53f78e5
|
13 14 |
vhost_test/Module.symvers vhost_test/modules.order *.d -include *.d |