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