aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
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