[dpdk-dev] [PATCH] mk: pass CROSS_COMPILE when compiling kernel modules

2014-04-17 Thread Thomas Monjalon
Hi, 2014-03-07 15:32, Aaro Koskinen: > On Tue, Feb 25, 2014 at 10:55:36PM +0100, Thomas Monjalon wrote: > > 07/02/2014 18:44, Aaro Koskinen : > > > Pass CROSS_COMPILE to the kernel build system when compiling kernel > > > modules. Although we export CC etc. the top level kernel Makefile will > > >

[dpdk-dev] [PATCH] mk: pass CROSS_COMPILE when compiling kernel modules

2014-03-07 Thread Aaro Koskinen
Hi, On Tue, Feb 25, 2014 at 10:55:36PM +0100, Thomas Monjalon wrote: > 07/02/2014 18:44, Aaro Koskinen : > > Pass CROSS_COMPILE to the kernel build system when compiling kernel > > modules. Although we export CC etc. the top level kernel Makefile will > > override the environment. As a result it w

[dpdk-dev] [PATCH] mk: pass CROSS_COMPILE when compiling kernel modules

2014-02-25 Thread Thomas Monjalon
Hi, 07/02/2014 18:44, Aaro Koskinen : > Pass CROSS_COMPILE to the kernel build system when compiling kernel > modules. Although we export CC etc. the top level kernel Makefile will > override the environment. As a result it will end up using wrong tools > if cross-compilation is desired but CROSS_

[dpdk-dev] [PATCH] mk: pass CROSS_COMPILE when compiling kernel modules

2014-02-07 Thread Aaro Koskinen
Pass CROSS_COMPILE to the kernel build system when compiling kernel modules. Although we export CC etc. the top level kernel Makefile will override the environment. As a result it will end up using wrong tools if cross-compilation is desired but CROSS_COMPILE is not set. Signed-off-by: Aaro Koskin