From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 5F6CE10FCA for ; Thu, 30 Mar 2017 14:37:43 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=intel.com; i=@intel.com; q=dns/txt; s=intel; t=1490877463; x=1522413463; h=subject:to:references:cc:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=M+nrVMJCKXIGxlHFNPdpsetbx+zPINmXpIBZ3I8v0Uc=; b=bOn7GXgTeYsPgIoL/1z1MCmC93uLDNrYB7j3MXXPXIkOZ1Re7RGm5Hxw 4NydX9U0Z2q9j4vGIBKeLxC0XWlliA==; Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 30 Mar 2017 05:37:42 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.36,246,1486454400"; d="scan'208";a="1148806204" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.237.220.122]) ([10.237.220.122]) by fmsmga002.fm.intel.com with ESMTP; 30 Mar 2017 05:37:41 -0700 To: Olivier Matz , dev@dpdk.org References: <20170330141120.2dbefae4@platinum> <20170330123228.28567-1-olivier.matz@6wind.com> Cc: thomas.monjalon@6wind.com From: Ferruh Yigit Message-ID: <14477004-6f7c-04c4-e12c-15cf64909da4@intel.com> Date: Thu, 30 Mar 2017 13:37:41 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <20170330123228.28567-1-olivier.matz@6wind.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit 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 12:37:43 -0000 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