Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
903651c
)
Use AESNI=y only on x86_64 machines
22/8622/3
author
Brian Brooks
<brian.brooks@arm.com>
Fri, 22 Sep 2017 17:26:34 +0000
(12:26 -0500)
committer
Damjan Marion
<dmarion.lists@gmail.com>
Sat, 14 Oct 2017 09:09:57 +0000
(09:09 +0000)
This fixes the native build on arm64 machines.
Change-Id: I89bff01beedb4c8e26ac55fab2dd1ed39754bf26
Signed-off-by: Brian Brooks <brian.brooks@arm.com>
Reviewed-by: Ola Liljedahl <ola.liljedahl@arm.com>
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
aef879c
..
c43612d
100644
(file)
--- 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