tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
dpdk: install files in the standard layout
Orivej Desh
7 years ago
ed465dc7
345f4639
+3
-3
3 changed files
expand all
collapse all
unified
split
pkgs
os-specific
linux
dpdk
default.nix
odp-dpdk
default.nix
pktgen
default.nix
+1
-1
pkgs/os-specific/linux/dpdk/default.nix
···
40
40
installTargets = [ "install-runtime" "install-sdk" "install-kmod" ]; # skip install-doc
41
41
42
42
installFlags = [
43
43
-
"prefix=$(out)" "datadir=$(out)" "includedir=$(out)/include"
43
43
+
"prefix=$(out)"
44
44
] ++ lib.optionals mod [
45
45
"kerneldir=$(kmod)/lib/modules/${kver}"
46
46
];
+1
-1
pkgs/os-specific/linux/odp-dpdk/default.nix
···
14
14
nativeBuildInputs = [ autoreconfHook pkgconfig ];
15
15
buildInputs = [ dpdk libconfig libpcap numactl openssl ];
16
16
17
17
-
RTE_SDK = dpdk;
17
17
+
RTE_SDK = "${dpdk}/share/dpdk";
18
18
RTE_TARGET = "x86_64-native-linuxapp-gcc";
19
19
20
20
dontDisableStatic = true;
+1
-1
pkgs/os-specific/linux/pktgen/default.nix
···
30
30
[ dpdk libpcap numactl ]
31
31
++ stdenv.lib.optionals withGtk [gtk2];
32
32
33
33
-
RTE_SDK = "${dpdk}";
33
33
+
RTE_SDK = "${dpdk}/share/dpdk";
34
34
RTE_TARGET = "x86_64-native-linuxapp-gcc";
35
35
GUI = stdenv.lib.optionalString withGtk "true";
36
36