mstflint_access: use kernel Makefile for install
Signed-off-by: Markus Theil <theil.markus@gmail.com>
This commit is contained in:
parent
04514c4b7d
commit
405f561c37
@ -26,13 +26,13 @@ stdenv.mkDerivation rec {
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -D ${pname}.ko $out/lib/modules/${kernel.modDirVersion}/extra/${pname}.ko
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
installTargets = [ "modules_install" ];
|
||||
installFlags = [
|
||||
"-C"
|
||||
"${kernel.dev}/lib/modules/${kernel.modDirVersion}/build"
|
||||
"INSTALL_MOD_PATH=${placeholder "out"}"
|
||||
"M=$(PWD)"
|
||||
] ++ makeFlags;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Kernel module for Nvidia NIC firmware update";
|
||||
|
Loading…
x
Reference in New Issue
Block a user