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
12
hardeningDisable = [ "pic" ];
13
0
0
0
14
KSRC = "${kernel.dev}/lib/modules/${kernel.modDirVersion}/build";
15
16
nativeBuildInputs = kernel.moduleBuildDependencies;
···
18
preBuild = "cd linux/igb_uio";
19
20
installPhase = ''
21
-
make -C ${KSRC} M=$(pwd) modules_install
22
'';
23
24
-
INSTALL_MOD_PATH = placeholder "out";
25
enableParallelBuilding = true;
26
27
meta = with lib; {
···
11
12
hardeningDisable = [ "pic" ];
13
14
+
makeFlags = kernel.makeFlags ++ [
15
+
"INSTALL_MOD_PATH=${placeholder "out"}"
16
+
];
17
KSRC = "${kernel.dev}/lib/modules/${kernel.modDirVersion}/build";
18
19
nativeBuildInputs = kernel.moduleBuildDependencies;
···
21
preBuild = "cd linux/igb_uio";
22
23
installPhase = ''
24
+
make -C ${KSRC} M=$(pwd) modules_install $makeFlags
25
'';
26
0
27
enableParallelBuilding = true;
28
29
meta = with lib; {