digimend: prepend kernel.makeFlags to makeFlags
This commit is contained in:
parent
fba1f47f00
commit
98bd4307a6
|
@ -13,8 +13,6 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "1l54j85540386a8aypqka7p5hy1b63cwmpsscv9rmmf10f78v8mm";
|
sha256 = "1l54j85540386a8aypqka7p5hy1b63cwmpsscv9rmmf10f78v8mm";
|
||||||
};
|
};
|
||||||
|
|
||||||
INSTALL_MOD_PATH = "\${out}";
|
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
sed 's/udevadm /true /' -i Makefile
|
sed 's/udevadm /true /' -i Makefile
|
||||||
sed 's/depmod /true /' -i Makefile
|
sed 's/depmod /true /' -i Makefile
|
||||||
|
@ -38,10 +36,11 @@ stdenv.mkDerivation rec {
|
||||||
rm -r $out/lib/udev
|
rm -r $out/lib/udev
|
||||||
'';
|
'';
|
||||||
|
|
||||||
makeFlags = [
|
makeFlags = kernel.makeFlags ++ [
|
||||||
"KVERSION=${kernel.modDirVersion}"
|
"KVERSION=${kernel.modDirVersion}"
|
||||||
"KDIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build"
|
"KDIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build"
|
||||||
"DESTDIR=${placeholder "out"}"
|
"DESTDIR=${placeholder "out"}"
|
||||||
|
"INSTALL_MOD_PATH=${placeholder "out"}"
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
Loading…
Reference in a new issue