aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnders Roxell <anders.roxell@linaro.org>2016-09-08 19:46:24 +0200
committerAnders Roxell <anders.roxell@linaro.org>2016-09-08 19:46:42 +0200
commit64f00fe19f53b5f94f030332dec837ed48908346 (patch)
tree79ead0edd599ea3f58c1d3d3d3404764a9a7c682
parent3a5568b9b6d3339f00d05f261b5fc5fa49ecb1e1 (diff)
setup_odp_example: change ODP_NAME to ODPLIB_NAME to match the Makefile
Suggested-by: Mike Holmes <mike.holmes@linaro.org> Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
-rwxr-xr-xsetup_odp_example.sh6
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}