From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <pmatilai@redhat.com> Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id 09FEA2956 for <dev@dpdk.org>; Fri, 11 Mar 2016 10:13:56 +0100 (CET) Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (Postfix) with ESMTPS id 788A664D2F; Fri, 11 Mar 2016 09:13:55 +0000 (UTC) Received: from sopuli.koti.laiskiainen.org.com (vpn1-5-162.ams2.redhat.com [10.36.5.162]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u2B9DrWN007714; Fri, 11 Mar 2016 04:13:54 -0500 From: Panu Matilainen <pmatilai@redhat.com> To: dev@dpdk.org Date: Fri, 11 Mar 2016 11:13:48 +0200 Message-Id: <9127451bf67ce08532a327cb66aefbcf7ed5b39f.1457687628.git.pmatilai@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Fri, 11 Mar 2016 09:13:55 +0000 (UTC) Subject: [dpdk-dev] [PATCH] mk: crypto pmds can only be built if librte_cryptodev is enabled X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK <dev.dpdk.org> List-Unsubscribe: <http://dpdk.org/ml/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://dpdk.org/ml/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <http://dpdk.org/ml/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> X-List-Received-Date: Fri, 11 Mar 2016 09:13:56 -0000 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 | 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