aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorThanos Makatos <thanos.makatos@nutanix.com>2019-09-10 11:57:10 -0400
committerThanos <tmakatos@gmail.com>2019-09-20 14:45:21 +0100
commit5d3393c21d4054394bdb042d13a3262afadb5e0e (patch)
tree27130718c2d530f7e3ed50a9dd31d5962d0f4254 /README.md
parent063a1cbec56c6b1ece8020618cb8428fedab943c (diff)
downloadlibvfio-user-5d3393c21d4054394bdb042d13a3262afadb5e0e.zip
libvfio-user-5d3393c21d4054394bdb042d13a3262afadb5e0e.tar.gz
libvfio-user-5d3393c21d4054394bdb042d13a3262afadb5e0e.tar.bz2
update documentation on how to build
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com>
Diffstat (limited to 'README.md')
-rw-r--r--README.md14
1 files changed, 4 insertions, 10 deletions
diff --git a/README.md b/README.md
index de6b694..bf06dd4 100644
--- a/README.md
+++ b/README.md
@@ -84,18 +84,12 @@ Reload the relevant kernel modules:
drivers/vfio/mdev/mdev.ko
drivers/vfio/mdev/vfio_mdev.ko
-Build the kernel module:
+To build and install the library run:
- cd src/kmod
- make
+ make && make install
-Build the library:
-
- mkdir build
- cd build
- cmake ..
- make
- make install
+To specify an alternative kernel directory set the KDIR environment variable
+accordingly.
Finally build your program and link it to libmuser.so.