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
|
sed -e 's@/lib/modules/\$(.*)@${kernel.dev}/lib/modules/${kernel.modDirVersion}@' -i src/mod/*/Makefile
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildPhase = ''
|
makeFlags = kernel.makeFlags ++ [
|
||||||
make -C src/mod
|
"-C src/mod"
|
||||||
'';
|
"INSTALL_MOD_PATH=${placeholder "out"}"
|
||||||
|
];
|
||||||
|
|
||||||
installPhase = ''
|
installTargets = "modules_install";
|
||||||
make -C src/mod modules_install INSTALL_MOD_PATH=$out
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://www.jool.mx/";
|
homepage = "https://www.jool.mx/";
|
||||||
|
|
Loading…
Reference in a new issue