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_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. Thanks -- Thomas