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>