[dpdk-dev] [PATCH] Pass CC option when building kernel modules

2014-10-09 Thread Sergio Gonzalez Monroy
On Thu, Oct 09, 2014 at 09:10:04AM +0100, Bruce Richardson wrote: > On Wed, Oct 08, 2014 at 07:15:04PM +0200, Thomas Monjalon wrote: > > 2014-10-06 16:57, Sergio Gonzalez Monroy: > > > At least on kernels 3.15 or newer, DPDK build is broken for CLANG target. > > > The issue is that the kernel build

[dpdk-dev] [PATCH] Pass CC option when building kernel modules

2014-10-09 Thread Bruce Richardson
On Wed, Oct 08, 2014 at 07:15:04PM +0200, Thomas Monjalon wrote: > 2014-10-06 16:57, Sergio Gonzalez Monroy: > > At least on kernels 3.15 or newer, DPDK build is broken for CLANG target. > > The issue is that the kernel build system sets the flags before including > > DPDK makefile and therefore as

[dpdk-dev] [PATCH] Pass CC option when building kernel modules

2014-10-08 Thread Thomas Monjalon
2014-10-06 16:57, Sergio Gonzalez Monroy: > At least on kernels 3.15 or newer, DPDK build is broken for CLANG target. > The issue is that the kernel build system sets the flags before including > DPDK makefile and therefore assumes the incorrect compiler. > > Signed-off-by: Sergio Gonzalez Monroy

[dpdk-dev] [PATCH] Pass CC option when building kernel modules

2014-10-06 Thread Bruce Richardson
On Mon, Oct 06, 2014 at 04:57:02PM +0100, Sergio Gonzalez Monroy wrote: > At least on kernels 3.15 or newer, DPDK build is broken for CLANG target. > The issue is that the kernel build system sets the flags before including > DPDK makefile and therefore assumes the incorrect compiler. > > Signed-o

[dpdk-dev] [PATCH] Pass CC option when building kernel modules

2014-10-06 Thread Sergio Gonzalez Monroy
At least on kernels 3.15 or newer, DPDK build is broken for CLANG target. The issue is that the kernel build system sets the flags before including DPDK makefile and therefore assumes the incorrect compiler. Signed-off-by: Sergio Gonzalez Monroy --- mk/rte.module.mk | 2 +- mk/targ