Merge pull request #42516 from repos-holder/master

nvidia-x11: pass kernel.modDirVersion
This commit is contained in:
Franz Pletz 2018-06-26 05:29:46 +00:00 committed by GitHub
commit 74f706d6cc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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" ];