nvidia-x11: pass kernel.modDirVersion

This commit is contained in:
dukzcry 2018-06-24 11:49:08 +03:00
parent 49a16a290e
commit 9645c867a3
2 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,6 @@ buildPhase() {
# Create the module.
echo "Building linux driver against kernel: $kernel";
cd kernel
kernelVersion=$(cd $kernel/lib/modules && ls)
sysSrc=$(echo $kernel/lib/modules/$kernelVersion/source)
sysOut=$(echo $kernel/lib/modules/$kernelVersion/build)
unset src # used by the nv makefile

View File

@ -55,6 +55,7 @@ let
outputDev = if libsOnly then null else "bin";
kernel = if libsOnly then null else kernel.dev;
kernelVersion = if libsOnly then null else kernel.modDirVersion;
hardeningDisable = [ "pic" "format" ];