From 076f9e4eaec455a1e664ba3fe1fedff1ed15d43a Mon Sep 17 00:00:00 2001 From: Federico Gimenez Molinelli <8161434+fgimenezm@users.noreply.github.com> Date: Wed, 16 Oct 2019 22:49:37 -0300 Subject: [PATCH] fix DKMS: add KVER value to make command Makefile is getting the KVER value from "uname -r" but that is not correct when building for kernels other than the running kernel. When running from DKMS we have to set KVER to ${kernelver}. --- dkms.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dkms.conf b/dkms.conf index fabad8f..de82ac1 100644 --- a/dkms.conf +++ b/dkms.conf @@ -4,5 +4,5 @@ BUILT_MODULE_NAME="8188eu" DEST_MODULE_LOCATION="/kernel/drivers/net/wireless/" REMAKE_INITRD="yes" AUTOINSTALL="yes" -MAKE="'make' all" +MAKE="'make' KVER=${kernelver} all" CLEAN="'make' clean"