evdi: prepend kernel.makeFlags to makeFlags

This commit is contained in:
Nick Cao 2022-02-10 09:57:21 +08:00
parent 07d1ce68d4
commit 490bf9cae5
No known key found for this signature in database
GPG key ID: 068A56CEF48FA2C1

View file

@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
buildInputs = [ kernel libdrm ];
makeFlags = [
makeFlags = kernel.makeFlags ++ [
"KVER=${kernel.modDirVersion}"
"KDIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build"
];