[dpdk-dev] [PATCH] mk: pass CROSS_COMPILE when compiling kernel modules
thomas.monjalon at 6wind.com
Tue Feb 25 22:55:36 CET 2014
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_COMPILE is not set.
> Signed-off-by: Aaro Koskinen <aaro.koskinen at nsn.com>
Could you explain why it's needed ?
In a basic test, CC=$(CROSS)gcc in rte.vars.mk seems sufficient.
More information about the dev