mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 11:40:45 +00:00
Merge pull request #136249 from lovesegfault/ddcci-driver-makeflags
linuxPackages.ddcci-driver: use kernel's make flags
This commit is contained in:
commit
3e31a8d02f
|
@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
|
|||
--replace depmod \#
|
||||
'';
|
||||
|
||||
makeFlags = [
|
||||
makeFlags = kernel.makeFlags ++ [
|
||||
"KDIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build"
|
||||
"KVER=${kernel.modDirVersion}"
|
||||
"KERNEL_MODLIB=$(out)/lib/modules/${kernel.modDirVersion}"
|
||||
|
|
Loading…
Reference in a new issue