summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2016-03-29 16:43:58 +0200
committerGerrit Code Review <gerrit@fd.io>2016-03-29 15:24:49 +0000
commitdab123ba697ecd9c2310b524d37509649fbcb173 (patch)
tree0255ccda59ac0e6aa2ebe344762677015628a1dd
parent31854abeb91a5d67585780e737d6f6e8bb718240 (diff)
Add abbility to specify dpdk tarball download base url
Change-Id: Ieceb0b1f4ab69609961d8946f627dd9311963da5 Signed-off-by: Damjan Marion <damarion@cisco.com>
-rw-r--r--dpdk/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/dpdk/Makefile b/dpdk/Makefile
index dabbf6ad..e6e2b5f8 100644
--- a/dpdk/Makefile
+++ b/dpdk/Makefile
@@ -24,8 +24,9 @@ DPDK_DEBUG ?= n
B := $(DPDK_BUILD_DIR)
I := $(DPDK_INSTALL_DIR)
DPDK_VERSION ?= 2.2.0
+DPDK_BASE_URL ?= http://dpdk.org/browse/dpdk/snapshot
DPDK_TARBALL := dpdk-$(DPDK_VERSION).tar.gz
-DPDK_TAR_URL := http://dpdk.org/browse/dpdk/snapshot/$(DPDK_TARBALL)
+DPDK_TAR_URL := $(DPDK_BASE_URL)/$(DPDK_TARBALL)
DPDK_2.1.0_TARBALL_MD5_CKSUM := 205a0d12bfd6eb717d57506272f43519
DPDK_2.2.0_TARBALL_MD5_CKSUM := 22e2fd68cd5504f43fe9a5a6fd6dd938
DPDK_SOURCE := $(B)/dpdk-$(DPDK_VERSION)