dpdk: install files in the standard layout

This commit is contained in:
Orivej Desh 2018-05-21 01:04:31 +00:00
parent 345f4639d6
commit ed465dc7de
3 changed files with 3 additions and 3 deletions

View file

@ -40,7 +40,7 @@ EOF
installTargets = [ "install-runtime" "install-sdk" "install-kmod" ]; # skip install-doc
installFlags = [
"prefix=$(out)" "datadir=$(out)" "includedir=$(out)/include"
"prefix=$(out)"
] ++ lib.optionals mod [
"kerneldir=$(kmod)/lib/modules/${kver}"
];

View file

@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [ dpdk libconfig libpcap numactl openssl ];
RTE_SDK = dpdk;
RTE_SDK = "${dpdk}/share/dpdk";
RTE_TARGET = "x86_64-native-linuxapp-gcc";
dontDisableStatic = true;

View file

@ -30,7 +30,7 @@ in stdenv.mkDerivation rec {
[ dpdk libpcap numactl ]
++ stdenv.lib.optionals withGtk [gtk2];
RTE_SDK = "${dpdk}";
RTE_SDK = "${dpdk}/share/dpdk";
RTE_TARGET = "x86_64-native-linuxapp-gcc";
GUI = stdenv.lib.optionalString withGtk "true";