From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f47.google.com (mail-wm0-f47.google.com [74.125.82.47]) by dpdk.org (Postfix) with ESMTP id BAE832BF6 for ; Fri, 11 Mar 2016 10:42:40 +0100 (CET) Received: by mail-wm0-f47.google.com with SMTP id l68so10467870wml.0 for ; Fri, 11 Mar 2016 01:42:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=VWw0tYIrTck0aNHyMw5fDzUUAE4YxhhQmfLwOvFZdTU=; b=zyg+u+nb4OBr1hxFWhqb6kihvW9CFiONPKxpBmyvi0k+X32DF9r2OpDCEbnN9Ke5ZR bslCQnE/XpdqAQRmEvg5VLkRK6YoccLaM4BRr/gws1H1PSYg4+0DZIZgjbwVkkMDWjeQ /BFZSKZjbYnG0/+I70OufZJo55o1PWUOLNM0s25C28tP6WygiI2vVQKZQDTmnNMwOGJq UoHNNdqynzB/p+iBUiDBJreblR9UBJOq4WxTx2b36WTd++2gXuhLBffDmc7/la0gIB+N LTwBD/EcaXpyX2/57IUJDZoSoJLrinayMU5aOFe0E1GZmUhngZX/wmqyl2f1OsYW2u/w t8Cg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding; bh=VWw0tYIrTck0aNHyMw5fDzUUAE4YxhhQmfLwOvFZdTU=; b=Dt2+KrOtrQXwwdaxA58B25QwSMWMOz323oFiTMPKL4jqaBlQsFGYwwk5NglpoPJh7y 0QWHL+uKH8bRkVGbN5QAlbh39gxufJYlO80HvsUpBm5ssa7qwqYa+IZXEKEz2eA6/L7S SB1uPQ46E4yvzd/sTVrSfdMuLDg03sV2i4QDWanpqF/VnrTyGk8Hls/OeypGqKh84V5n 8nvnS3rVYxc1xwOeFw+wMa6wrm/6q4Iye4fXF99vgcfotKYv5LKaXs95Ydcqae4SIlYv 8THifjZRpW7q6hH8+IzF9NINZEPUEA8EOcCA//uHaVybzMmri3Vo2dbWLasXqoTluoj0 gbHw== X-Gm-Message-State: AD7BkJIMbapfblTzyVaJyrycNt/mysoXWoXpb+q+MMRFIXrOtQJWpPP7NgcVvxIfBeUc5jaF X-Received: by 10.194.90.100 with SMTP id bv4mr8662369wjb.4.1457689360538; Fri, 11 Mar 2016 01:42:40 -0800 (PST) Received: from xps13.localnet (91.111.75.86.rev.sfr.net. [86.75.111.91]) by smtp.gmail.com with ESMTPSA id ka4sm7538187wjc.47.2016.03.11.01.42.39 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 11 Mar 2016 01:42:40 -0800 (PST) From: Thomas Monjalon To: Panu Matilainen Date: Fri, 11 Mar 2016 10:40:57 +0100 Message-ID: <17792541.ug2j2xNN4L@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <9127451bf67ce08532a327cb66aefbcf7ed5b39f.1457687628.git.pmatilai@redhat.com> References: <9127451bf67ce08532a327cb66aefbcf7ed5b39f.1457687628.git.pmatilai@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Mar 2016 09:42:40 -0000 2016-03-11 11:13, Panu Matilainen: > 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 Applied with small rework, thanks. > +ifeq ($(CONFIG_RTE_LIBRTE_CRYPTODEV),y) > DIRS-y += crypto > +endif DIRS-$(CONFIG_RTE_LIBRTE_CRYPTODEV) += crypto