diff options
-rw-r--r-- | .travis.yml | 14 | ||||
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | README.md | 2 |
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 @@ -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) @@ -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. |