Add option to build without multi-buffer crypto. 90/8290/3
authorThomas F Herbert <therbert@redhat.com>
Tue, 29 Aug 2017 20:07:51 +0000 (16:07 -0400)
committerSergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com>
Tue, 12 Sep 2017 18:42:32 +0000 (18:42 +0000)
JIRA VPP-498

This patch also allows RPMs to be built without multi-
buffer crypto for some RPM based downstream distros that
don't have sufficiently new nasm or don't have an USA
export license for multi-buffer crypto.

The default is to build WITH multi-buffer crypto
for x86-64. This patch allows optional building without
multi-buffer crypto.

To build without multi-buffer crypto, set the AESNI
environment variable to n.
To build rpm packages without multi-buffer crypto,
build the rpms with the option turned off.

make build AESNI=n

or..

make pkg-rpm --without aesni

---How to test this patch on a Centos build.---

Build as above and verify that nasm isn't executed during
the build process.
vpp may be installed and the dpdk plugin may be inspected to
verify that the multi-buffer code isn't present.

Change-Id: I8c5cfd4cdd9eb2b96772a687eaa54560806e001b
Signed-off-by: Thomas F Herbert <therbert@redhat.com>

No differences found