From dff9314f6f5c88b4320ec5de33fb40ac91632a0d Mon Sep 17 00:00:00 2001 From: Damjan Marion Date: Mon, 21 Aug 2017 22:19:04 +0200 Subject: dpdk: define MACHINE before it is used This fixes build on non-x86 platforms like arm64. Change-Id: I7ff5df92f89e34c27889d82f35924dc28cde8c39 Signed-off-by: Damjan Marion (cherry picked from commit 5f22f4ddded8ac41487dab3069ff8d77c3916205) --- dpdk/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dpdk/Makefile b/dpdk/Makefile index 50a90fde62f..70d8157a5ff 100644 --- a/dpdk/Makefile +++ b/dpdk/Makefile @@ -32,6 +32,7 @@ DPDK_TAR_URL := $(DPDK_BASE_URL)/$(DPDK_TARBALL) DPDK_17.02_TARBALL_MD5_CKSUM := 6b9f7387c35641f4e8dbba3e528f2376 DPDK_17.05_TARBALL_MD5_CKSUM := 0a68c31cd6a6cabeed0a4331073e4c05 DPDK_SOURCE := $(B)/dpdk-$(DPDK_VERSION) +MACHINE=$(shell uname -m) ifeq ($(MACHINE),$(filter $(MACHINE),x86_64)) AESNI := y @@ -57,8 +58,6 @@ else DPDK_CC=gcc endif -MACHINE=$(shell uname -m) - ############################################################################## # Intel x86 ############################################################################## -- cgit 1.2.3-korg