From: Damjan Marion Date: Mon, 21 Aug 2017 20:19:04 +0000 (+0200) Subject: dpdk: define MACHINE before it is used X-Git-Tag: v17.10-rc1~196 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=5f22f4ddded8ac41487dab3069ff8d77c3916205;p=vpp.git dpdk: define MACHINE before it is used This fixes build on non-x86 platforms like arm64. Change-Id: I7ff5df92f89e34c27889d82f35924dc28cde8c39 Signed-off-by: Damjan Marion --- diff --git a/dpdk/Makefile b/dpdk/Makefile index 9f03b710e0e..2e4b0e96248 100644 --- a/dpdk/Makefile +++ b/dpdk/Makefile @@ -33,6 +33,7 @@ DPDK_17.02_TARBALL_MD5_CKSUM := 6b9f7387c35641f4e8dbba3e528f2376 DPDK_17.05_TARBALL_MD5_CKSUM := 0a68c31cd6a6cabeed0a4331073e4c05 DPDK_17.08_TARBALL_MD5_CKSUM := 0641f59ea8ea98afefa7cfa2699f6241 DPDK_SOURCE := $(B)/dpdk-$(DPDK_VERSION) +MACHINE=$(shell uname -m) ifeq ($(MACHINE),$(filter $(MACHINE),x86_64)) AESNI := y @@ -58,8 +59,6 @@ else DPDK_CC=gcc endif -MACHINE=$(shell uname -m) - ############################################################################## # Intel x86 ##############################################################################