mk: fix build without crypto
authorPanu Matilainen <pmatilai@redhat.com>
Fri, 11 Mar 2016 09:13:48 +0000 (11:13 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 11 Mar 2016 09:43:09 +0000 (10:43 +0100)
commit94288d645a16028c5e2625355141560998052f9b
treece82e3dd81f57f225443bae5350d64819ef82d33
parent94b0ad8e0aa556230183f4c4d06b68bfd145dce3
mk: fix build without crypto

If the experimental CONFIG_RTE_LIBRTE_CRYPTODEV is disabled,
build of any crypto pmds will fail because of the missing dependency.
This has been present for a while now but hidden until the addition
of null_crypto since all the other crypto pmds have been disabled
by default.

Conditionalize the entire drivers/crypto directory on
CONFIG_RTE_LIBRTE_CRYPTODEV to fix.

Fixes: 1703e94ac5ce ("qat: add driver for QuickAssist devices")

Signed-off-by: Panu Matilainen <pmatilai@redhat.com>
drivers/Makefile