linuxPackages.ddcci-driver: use kernel's make flags

This commit is contained in:
Bernardo Meurer 2021-08-30 17:12:05 -07:00
parent 6f28a718e5
commit 8afec3d92f
No known key found for this signature in database
GPG Key ID: F4C0D53B8D14C246

View File

@ -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}"