[dpdk-dev] [PATCH] examples: detect build directory rather than hardcoding

Thomas Monjalon thomas at monjalon.net
Sat Mar 30 01:14:14 CET 2019


27/03/2019 16:02, Ferruh Yigit:
> On 3/27/2019 1:58 PM, Bruce Richardson wrote:
> > Most examples have in their makefiles a default RTE_TARGET directory to be
> > used in case RTE_TARGET is not set. Rather than just using a hard-coded
> > default, we can instead detect what the build directory is relative to
> > RTE_SDK directory.
> > 
> > This fixes a potential issue for anyone who continues to build using
> > "make install T=x86_64-native-linuxapp-gcc" and skips setting RTE_TARGET
> > explicitly, instead relying on the fact that they were building in a
> > directory which corresponded to the example default path - which was
> > changed to "x86_64-native-linux-gcc" by commit 218c4e68c1d9 ("mk: use
> > linux and freebsd in config names").
> > 
> > Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
> 
> Acked-by: Ferruh Yigit <ferruh.yigit at intel.com>

Applied, thanks




More information about the dev mailing list