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}.
This commit is contained in:
Federico Gimenez Molinelli 2019-10-16 22:49:37 -03:00 committed by GitHub
parent a03bf8ede5
commit 076f9e4eae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"