From 5d3393c21d4054394bdb042d13a3262afadb5e0e Mon Sep 17 00:00:00 2001 From: Thanos Makatos Date: Tue, 10 Sep 2019 11:57:10 -0400 Subject: update documentation on how to build Signed-off-by: Thanos Makatos --- README.md | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'README.md') 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. -- cgit v1.1