[dpdk-dev] [PATCH] qede: fix build issue in the cross-compiling mode

Thomas Monjalon thomas.monjalon at 6wind.com
Wed May 25 19:27:09 CEST 2016


2016-05-25 18:01, Ferruh Yigit:
> On 5/25/2016 10:41 AM, Jerin Jacob wrote:
> > In cross-compiling mode CC can be aarch64-*-linux-gnu-gcc
> > instead of just gcc
> > 
> > Signed-off-by: Jerin Jacob <jerin.jacob at caviumnetworks.com>
> > ---
> > -ifneq (,$(filter gcc gcc48,$(CC)))
> > +ifneq (,$(filter %gcc %gcc48,$(CC)))
> 
> What about: ifeq ($(CONFIG_RTE_TOOLCHAIN_GCC),y)
> This saves adding gcc version or cross compilation related check.

True!
It could be used instead every occurences of "ifeq ($(CC), icc)" and so on.

cc Hiroyuki Mikita
It is the same issue with http://dpdk.org/patch/13013


More information about the dev mailing list