summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/vnf_build.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/vnf_build.sh b/tools/vnf_build.sh
index 3b70166c..f60a3644 100755
--- a/tools/vnf_build.sh
+++ b/tools/vnf_build.sh
@@ -252,6 +252,11 @@ install_dpdk()
echo "igb_uio" | sudo tee -a /etc/modules
sudo depmod
fi
+ if [ -d "dpdk/usertools/" ]; then
+ cp usertools/dpdk-devbind.py /usr/sbin/dpdk-devbind
+ else
+ cp tools/dpdk_nic_bind.py /usr/sbin/dpdk-devbind
+ fi
popd
}