mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-13 21:32:23 +03:00
Merge pull request #27586 from NeQuissimus/dpdk_17_05_1
dpdk: 16.07.2 -> 17.05.1
This commit is contained in:
commit
8f77f7b486
@ -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 New Issue
Block a user