From 94288d645a16028c5e2625355141560998052f9b Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Fri, 11 Mar 2016 11:13:48 +0200 Subject: [PATCH] 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 --- drivers/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/Makefile b/drivers/Makefile index 6ec67f69fc..81c03a8598 100644 --- a/drivers/Makefile +++ b/drivers/Makefile @@ -32,6 +32,6 @@ include $(RTE_SDK)/mk/rte.vars.mk DIRS-y += net -DIRS-y += crypto +DIRS-$(CONFIG_RTE_LIBRTE_CRYPTODEV) += crypto include $(RTE_SDK)/mk/rte.subdir.mk -- 2.20.1