From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf0-f43.google.com (mail-lf0-f43.google.com [209.85.215.43]) by dpdk.org (Postfix) with ESMTP id 8717911066 for ; Thu, 30 Mar 2017 15:37:50 +0200 (CEST) Received: by mail-lf0-f43.google.com with SMTP id h125so26631628lfe.0 for ; Thu, 30 Mar 2017 06:37:50 -0700 (PDT) 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:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=8YXwRUZFTPhWNEtEIFQSNitPwH9jtZTmr8V1YbZ+XYE=; b=r+pnkKP/sQ+lFCmsXZFud34ptcRkVmIJjWN8NDkDzcL1rJco7iDDex7LFwU/bVWv/H GdlOnJ48gssnCH1yqHwBxrqVuS/2WaqJuQKKPCLcLSqYvoAw/UKfo48gNS2PkzaWJEq7 3gH+c+XCEgWTC7i0JtI11Pu/EqqpxfGBNU6gFe1aX3D28FFvFbWzHRa2QQ4X/wd4NP/W lCuBS4LJc54jR+Rek9ggkzNQizuerrSxhGSN9Aky/Ls5aMb6eTb1J8ZPKlvwwYXiA2qN wP4OWN2j8msxzcfsY/FRq4u6wBOsxJfhjKqYodRlHnJf3Sgx5Cw94Di7v5onUD0XOInl GL4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=8YXwRUZFTPhWNEtEIFQSNitPwH9jtZTmr8V1YbZ+XYE=; b=I9YRbYs+4dz448M0g9xdQ/fnWiFsc2Dkytq9Bezv3+kbuqoKlRfgHXNekLUrHszfb3 nHGfbY73FKIOGPEHlA/Fb5/CPBuf23b7yle6PsJMogksZD6OODwhwE4q9aoFD+i6h7po YEWUnDG9gLWn+cvlgeeuayi20x2wuupBNBrnp/LFZeuehR54isyfRqxIJcZ/0MP6EIxI JipNbs78+XJdsZIBQRDDZFpQHKTyqPCMkU5E+Hxw+9hPIiqRf+9v4zUSP5KaWYHYPpTg iQhwQSFT86E2fgxvVSvJgEZPeOgrw+oUVH486OryPBu6xUcZxklQzeKLGbHnewPyA1Xx iDoA== X-Gm-Message-State: AFeK/H2LfluAL+2AKT3t7WveyhR3PObyMgZnFmIF38eTfkwDNbmHfeF6/3Ry7bE8gk5x+WqY X-Received: by 10.28.136.81 with SMTP id k78mr3685417wmd.36.1490881070104; Thu, 30 Mar 2017 06:37:50 -0700 (PDT) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id 36sm2863659wrk.15.2017.03.30.06.37.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Mar 2017 06:37:49 -0700 (PDT) From: Thomas Monjalon To: Olivier Matz Cc: Ferruh Yigit , dev@dpdk.org Date: Thu, 30 Mar 2017 15:37:48 +0200 Message-ID: <5105711.cJhHzCpTQQ@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <14477004-6f7c-04c4-e12c-15cf64909da4@intel.com> References: <20170330141120.2dbefae4@platinum> <20170330123228.28567-1-olivier.matz@6wind.com> <14477004-6f7c-04c4-e12c-15cf64909da4@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] mk: fix dependencies to optional configs X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Mar 2017 13:37:50 -0000 2017-03-30 13:37, Ferruh Yigit: > On 3/30/2017 1:32 PM, Olivier Matz wrote: > > In rte.lib.mk, the list of libraries passed to the link > > command (LDLIBS) is generated from the DEPDIRS-xxx variables. > > If a library is not compiled because it is disabled in > > configuration, it should not appear in DEPDIRS-xxx. > > > > - librte_port depends on librte_kni only if it is enabled. > > - librte_table depends on librte_acl only if it is enabled. > > > > Fixes: feb9f680cd2c ("mk: optimize directory dependencies") > > Reported-by: Ferruh Yigit > > Signed-off-by: Olivier Matz > > Tested-by: Ferruh Yigit Applied, thanks