tools/virtio: option to build an out of tree module
authorMichael S. Tsirkin <mst@redhat.com>
Thu, 6 Feb 2020 07:54:32 +0000 (02:54 -0500)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 23 Mar 2020 13:50:02 +0000 (09:50 -0400)
commitd5f5ee2a490547961c0b7ccdeef047c2018892bf
tree3fa281b3ef364386bb645be2aa11080e8e3904ce
parent16fbf79b0f83bc752cee8589279f1ebfe57b3b6e
tools/virtio: option to build an out of tree module

Handy for testing with distro kernels.
Warn that the resulting module is completely unsupported,
and isn't intended for production use.

Usage:
        make oot # builds vhost_test.ko, vhost.ko
        make oot-clean # cleans out files created

Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
tools/virtio/Makefile