jool: prepend kernel.makeFlags to makeFlags
This commit is contained in:
parent
0341ed782c
commit
fd5ead0eed
1 changed files with 5 additions and 6 deletions
|
@ -16,13 +16,12 @@ stdenv.mkDerivation {
|
|||
sed -e 's@/lib/modules/\$(.*)@${kernel.dev}/lib/modules/${kernel.modDirVersion}@' -i src/mod/*/Makefile
|
||||
'';
|
||||
|
||||
buildPhase = ''
|
||||
make -C src/mod
|
||||
'';
|
||||
makeFlags = kernel.makeFlags ++ [
|
||||
"-C src/mod"
|
||||
"INSTALL_MOD_PATH=${placeholder "out"}"
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
make -C src/mod modules_install INSTALL_MOD_PATH=$out
|
||||
'';
|
||||
installTargets = "modules_install";
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://www.jool.mx/";
|
||||
|
|
Loading…
Reference in a new issue