Merge pull request #42516 from repos-holder/master
nvidia-x11: pass kernel.modDirVersion
This commit is contained in:
commit
74f706d6cc
2 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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" ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue