From 40b655c370830582d06c916efa4078d006937978 Mon Sep 17 00:00:00 2001 From: Brian Brooks Date: Fri, 22 Sep 2017 12:26:34 -0500 Subject: 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 --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Makefile') 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 -- cgit 1.2.3-korg