From: Brian Brooks Date: Fri, 22 Sep 2017 17:26:34 +0000 (-0500) Subject: Use AESNI=y only on x86_64 machines X-Git-Tag: v18.04-rc0~468 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=40b655c370830582d06c916efa4078d006937978;p=vpp.git Use AESNI=y only on x86_64 machines This fixes the native build on arm64 machines. Change-Id: I89bff01beedb4c8e26ac55fab2dd1ed39754bf26 Signed-off-by: Brian Brooks Reviewed-by: Ola Liljedahl --- diff --git a/Makefile b/Makefile index aef879c9723..c43612de234 100644 --- a/Makefile +++ b/Makefile @@ -17,7 +17,13 @@ CCACHE_DIR?=$(BR)/.ccache GDB?=gdb PLATFORM?=vpp SAMPLE_PLUGIN?=no +MACHINE=$(shell uname -m) + +ifeq ($(MACHINE),$(filter $(MACHINE),x86_64)) export AESNI?=y +else +export AESNI?=N +endif ,:=, define disable_plugins