tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
dpdk-kmods: prepend kernel.makeFlags to makeFlags
Nick Cao
3 years ago
694eef94
98bd4307
+4
-2
1 changed file
expand all
collapse all
unified
split
pkgs
os-specific
linux
dpdk-kmods
default.nix
+4
-2
pkgs/os-specific/linux/dpdk-kmods/default.nix
···
11
11
12
12
hardeningDisable = [ "pic" ];
13
13
14
14
+
makeFlags = kernel.makeFlags ++ [
15
15
+
"INSTALL_MOD_PATH=${placeholder "out"}"
16
16
+
];
14
17
KSRC = "${kernel.dev}/lib/modules/${kernel.modDirVersion}/build";
15
18
16
19
nativeBuildInputs = kernel.moduleBuildDependencies;
···
18
21
preBuild = "cd linux/igb_uio";
19
22
20
23
installPhase = ''
21
21
-
make -C ${KSRC} M=$(pwd) modules_install
24
24
+
make -C ${KSRC} M=$(pwd) modules_install $makeFlags
22
25
'';
23
26
24
24
-
INSTALL_MOD_PATH = placeholder "out";
25
27
enableParallelBuilding = true;
26
28
27
29
meta = with lib; {