mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
dpdk: install files in the standard layout
This commit is contained in:
parent
345f4639d6
commit
ed465dc7de
@ -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}"
|
||||
];
|
||||
|
@ -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;
|
||||
|
@ -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";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user