From mboxrd@z Thu Jan 1 00:00:00 1970 From: Panu Matilainen Subject: [PATCH] mk: crypto pmds can only be built if librte_cryptodev is enabled Date: Fri, 11 Mar 2016 11:13:48 +0200 Message-ID: <9127451bf67ce08532a327cb66aefbcf7ed5b39f.1457687628.git.pmatilai@redhat.com> To: dev@dpdk.org Return-path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id 09FEA2956 for ; Fri, 11 Mar 2016 10:13:56 +0100 (CET) List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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, 2 insertions(+) diff --git a/drivers/Makefile b/drivers/Makefile index 6ec67f6..c6758a1 100644 --- a/drivers/Makefile +++ b/drivers/Makefile @@ -32,6 +32,8 @@ include $(RTE_SDK)/mk/rte.vars.mk DIRS-y += net +ifeq ($(CONFIG_RTE_LIBRTE_CRYPTODEV),y) DIRS-y += crypto +endif include $(RTE_SDK)/mk/rte.subdir.mk -- 2.5.0