drivers: fix build if security lib disabled
authorAkhil Goyal <akhil.goyal@nxp.com>
Tue, 23 Oct 2018 13:47:06 +0000 (13:47 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 24 Oct 2018 20:39:25 +0000 (22:39 +0200)
commite7b3b13ba930254ce07f84a57e578325e79fe5fa
tree4051180fa9c51bb853f988d29bf6fcc4aad61c7f
parentb4f62e586279bd5c49933f0e873adf047847e556
drivers: fix build if security lib disabled

RTE_SECURITY is enabled by default. If it is disabled, dpaa2_sec,
dpaa_sec and caam_jr compilation fails.

This patch fixes compilation by disabling these drivers
when rte_security is not available.

Fixes: 1ee9569576f6 ("config: enable dpaaX drivers for generic ARMv8")
Fixes: 09e1e8d256b0 ("mk: fix dependencies of dpaaX drivers")
Fixes: af7c9b5e9ce7 ("crypto/caam_jr: introduce basic driver")
Cc: stable@dpdk.org
Signed-off-by: Akhil Goyal <akhil.goyal@nxp.com>
drivers/crypto/Makefile
drivers/crypto/dpaa2_sec/Makefile
drivers/event/dpaa2/Makefile
drivers/event/dpaa2/dpaa2_eventdev.c
mk/rte.app.mk