aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml14
-rw-r--r--Makefile2
-rw-r--r--README.md2
3 files changed, 1 insertions, 17 deletions
diff --git a/.travis.yml b/.travis.yml
index b0a3dae..019ca1c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,17 +1,5 @@
language: c
dist: bionic
compiler: gcc
-before_install:
- - muser_dir=$(pwd)
- - linux_dir=/tmp/linux
- - mkdir "${linux_dir}"
- - cd "${linux_dir}"
- - git init
- - git remote add origin git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
- - git fetch --depth 1 origin v5.8
- - git checkout FETCH_HEAD
- - make olddefconfig
- - make prepare
- - cd "${muser_dir}"
script:
- - KDIR=/tmp/linux make
+ - make
diff --git a/Makefile b/Makefile
index 9d0676a..896ce0e 100644
--- a/Makefile
+++ b/Makefile
@@ -45,7 +45,6 @@ endif
BUILD_DIR_BASE = $(CURDIR)/build
BUILD_DIR = $(BUILD_DIR_BASE)/$(BUILD_TYPE)
-KDIR ?= "/lib/modules/$(shell uname -r)/build"
INSTALL_PREFIX ?= /usr/local
PHONY_TARGETS := all realclean buildclean force_cmake export install-export tags
@@ -68,7 +67,6 @@ $(BUILD_DIR)/Makefile:
cd $(BUILD_DIR); cmake \
-D "CMAKE_C_FLAGS:STRING=$(CFLAGS)" \
-D "CMAKE_BUILD_TYPE:STRING=$(CMAKE_BUILD_TYPE)" \
- -D "KDIR=$(KDIR)" \
-D "CMAKE_INSTALL_PREFIX=$(INSTALL_PREFIX)" \
$(CURDIR)
diff --git a/README.md b/README.md
index 887c51a..972a1f6 100644
--- a/README.md
+++ b/README.md
@@ -53,8 +53,6 @@ Just do:
make && make install
The kernel headers are necessary because VFIO structs and defines are reused.
-To specify an alternative kernel directory set the KDIR environment variable
-accordingly.
To enable Python bindings set the PYTHON_BINDINGS environment variable to a
non-empty string.