diff options
author | Dave Barach <openvpp@barachs.net> | 2015-12-16 13:52:56 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@projectrotterdam.info> | 2015-12-16 13:52:56 +0000 |
commit | 806afd651e4ea601f6c9e0f1a3f84372f11fa8bb (patch) | |
tree | 1a93e55eeda1b6a6e05b5a0aa20fd9eb9090c5ee /dpdk/Makefile | |
parent | 18589bbb85b61f605570196a5baf1cd2d13702a3 (diff) | |
parent | bce6b6a6bfbedb4209a7f20c65ebcb018e0432ff (diff) |
Merge "Introduce support for DPDK 2.2"
Diffstat (limited to 'dpdk/Makefile')
-rw-r--r-- | dpdk/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/dpdk/Makefile b/dpdk/Makefile index c33cf63ccf5..b95ed7668c7 100644 --- a/dpdk/Makefile +++ b/dpdk/Makefile @@ -23,10 +23,11 @@ DPDK_DEBUG ?= n B := $(DPDK_BUILD_DIR) I := $(DPDK_INSTALL_DIR) -DPDK_VERSION := 2.1.0 +DPDK_VERSION ?= 2.1.0 DPDK_TARBALL := dpdk-$(DPDK_VERSION).tar.gz DPDK_TAR_URL := http://dpdk.org/browse/dpdk/snapshot/$(DPDK_TARBALL) -DPDK_TARBALL_MD5_CKSUM := 205a0d12bfd6eb717d57506272f43519 +DPDK_2.1.0_TARBALL_MD5_CKSUM := 205a0d12bfd6eb717d57506272f43519 +DPDK_2.2.0_TARBALL_MD5_CKSUM := 22e2fd68cd5504f43fe9a5a6fd6dd938 DPDK_SOURCE := $(B)/dpdk-$(DPDK_VERSION) DPDK_TARGET := x86_64-native-linuxapp-gcc JOBS := $(shell grep processor /proc/cpuinfo | wc -l) @@ -125,7 +126,7 @@ $(CURDIR)/$(DPDK_TARBALL): $(B)/.download.ok: $(CURDIR)/$(DPDK_TARBALL) @openssl md5 $< | cut -f 2 -d " " - > $(B)/$(DPDK_TARBALL).md5sum - @([ "$$(<$(B)/$(DPDK_TARBALL).md5sum)" = "$(DPDK_TARBALL_MD5_CKSUM)" ] || \ + @([ "$$(<$(B)/$(DPDK_TARBALL).md5sum)" = "$(DPDK_$(DPDK_VERSION)_TARBALL_MD5_CKSUM)" ] || \ ( echo "Bad Checksum! Please remove $< and retry" && \ rm $(B)/$(DPDK_TARBALL).md5sum && false )) @touch $@ |