diff options
Diffstat (limited to 'setup_odp_example.sh')
-rwxr-xr-x | setup_odp_example.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/setup_odp_example.sh b/setup_odp_example.sh index 074d2dc..16dd79a 100755 --- a/setup_odp_example.sh +++ b/setup_odp_example.sh @@ -16,7 +16,7 @@ sudo apt-get install -y wget lsb-core #pick any supported implementation: #odp-linux is generic and should run on any linux #odp-dpdk is optimized for PCI access using the DPDK SDK -ODP_NAME=${ODP_NAME:-"odp-linux"} +ODPLIB_NAME=${ODPLIB_NAME:-"odp-linux"} #pick your distribution DEFAULT_RELEASE=`lsb_release -c | cut -d: -f 2` @@ -30,6 +30,6 @@ sudo apt-key add /tmp/odp.key echo "deb http://deb.opendataplane.org ${OS_RELEASE} main" |sudo tee /etc/apt/sources.list.d/odp.list sudo apt-get update -sudo apt-get install -y git pkg-config make gcc libc6-dev libodphelper-linux-dev lib${ODP_NAME}-dev +sudo apt-get install -y git pkg-config make gcc libc6-dev libodphelper-linux-dev lib${ODPLIB_NAME}-dev -make ODPLIB_NAME=${ODP_NAME} +make ODPLIB_NAME=${ODPLIB_NAME} |