mk: pass CC option for kernel modules
[dpdk.git] / mk / toolchain / icc / rte.vars.mk
index 612370d..f03a2a2 100644 (file)
 # Warning: we do not use CROSS environment variable as icc is mainly a
 # x86->x86 compiler
 
-ifeq ($(KERNELRELEASE),)
 CC        = icc
-else
-CC        = gcc
-endif
+KERNELCC  = gcc
 CPP       = cpp
 AS        = nasm
 AR        = ar