X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=Makefile;h=c08115d47e5c70ea0ab4fe4de590e06aff9789a0;hb=057704ebb51a006fbfd18dba570df1ca504b4277;hp=01da7d1298252e1ba67cb141f57bd48255c03971;hpb=555d92030142ad318049011477a99d7064bd3738;p=vpp.git diff --git a/Makefile b/Makefile index 01da7d12982..c08115d47e5 100644 --- a/Makefile +++ b/Makefile @@ -17,6 +17,7 @@ CCACHE_DIR?=$(BR)/.ccache GDB?=gdb PLATFORM?=vpp SAMPLE_PLUGIN?=no +export AESNI?=y ,:=, define disable_plugins @@ -94,7 +95,7 @@ endif RPM_DEPENDS += chrpath libffi-devel rpm-build ifeq ($(OS_ID),fedora) RPM_DEPENDS += nasm -else +else ifeq ($(findstring y,$(AESNI)),y) RPM_DEPENDS += https://kojipkgs.fedoraproject.org//packages/nasm/2.12.02/2.fc26/x86_64/nasm-2.12.02-2.fc26.x86_64.rpm endif