nvidia-x11: pass kernel.modDirVersion
This commit is contained in:
parent
49a16a290e
commit
9645c867a3
@ -17,7 +17,6 @@ buildPhase() {
|
|||||||
# Create the module.
|
# Create the module.
|
||||||
echo "Building linux driver against kernel: $kernel";
|
echo "Building linux driver against kernel: $kernel";
|
||||||
cd kernel
|
cd kernel
|
||||||
kernelVersion=$(cd $kernel/lib/modules && ls)
|
|
||||||
sysSrc=$(echo $kernel/lib/modules/$kernelVersion/source)
|
sysSrc=$(echo $kernel/lib/modules/$kernelVersion/source)
|
||||||
sysOut=$(echo $kernel/lib/modules/$kernelVersion/build)
|
sysOut=$(echo $kernel/lib/modules/$kernelVersion/build)
|
||||||
unset src # used by the nv makefile
|
unset src # used by the nv makefile
|
||||||
|
@ -55,6 +55,7 @@ let
|
|||||||
outputDev = if libsOnly then null else "bin";
|
outputDev = if libsOnly then null else "bin";
|
||||||
|
|
||||||
kernel = if libsOnly then null else kernel.dev;
|
kernel = if libsOnly then null else kernel.dev;
|
||||||
|
kernelVersion = if libsOnly then null else kernel.modDirVersion;
|
||||||
|
|
||||||
hardeningDisable = [ "pic" "format" ];
|
hardeningDisable = [ "pic" "format" ];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user