dpdk: define MACHINE before it is used
This fixes build on non-x86 platforms like arm64. Change-Id: I7ff5df92f89e34c27889d82f35924dc28cde8c39 Signed-off-by: Damjan Marion <damarion@cisco.com> (cherry picked from commit 5f22f4ddded8ac41487dab3069ff8d77c3916205)
This commit is contained in:
Damjan Marion
committed by
Sergio Gonzalez Monroy
parent
f89ad4b9cb
commit
dff9314f6f
@ -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
|
||||
##############################################################################
|
||||
|
Reference in New Issue
Block a user