[dpdk-dev] [PATCH] mk: fix dependencies to optional configs

Thomas Monjalon thomas.monjalon at 6wind.com
Thu Mar 30 15:37:48 CEST 2017


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 <ferruh.yigit at intel.com>
> > Signed-off-by: Olivier Matz <olivier.matz at 6wind.com>
> 
> Tested-by: Ferruh Yigit <ferruh.yigit at intel.com>

Applied, thanks


More information about the dev mailing list