forked from mirrors/nixpkgs
dpdk: 16.07.2 -> 17.05.1
This commit is contained in:
parent
887570883e
commit
fe101d0fb7
|
@ -4,11 +4,11 @@ assert lib.versionAtLeast kernel.version "3.18";
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "dpdk-${version}-${kernel.version}";
|
||||
version = "16.07.2";
|
||||
version = "17.05.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://fast.dpdk.org/rel/dpdk-${version}.tar.xz";
|
||||
sha256 = "1mzwazmzpq8mvwiham80y6h53qpvjpp76v0d58gz9bfiphbi9876";
|
||||
sha256 = "1w3nx5cqf8z600bdlbwz7brmdb5yn233qrqvv24kbmmxhbwp7qld";
|
||||
};
|
||||
|
||||
buildInputs = [ pkgconfig libvirt ];
|
||||
|
@ -52,7 +52,7 @@ stdenv.mkDerivation rec {
|
|||
install -m 0755 -d $out/${RTE_TARGET}/include
|
||||
install -m 0644 ${RTE_TARGET}/include/rte_config.h $out/${RTE_TARGET}/include
|
||||
|
||||
cp -pr mk scripts $out/
|
||||
cp -pr mk $out/
|
||||
|
||||
mkdir -p $kmod/lib/modules/${kernel.modDirVersion}/kernel/drivers/net
|
||||
cp ${RTE_TARGET}/kmod/*.ko $kmod/lib/modules/${kernel.modDirVersion}/kernel/drivers/net
|
||||
|
|
Loading…
Reference in a new issue