]> git.droids-corp.org - dpdk.git/blobdiff - mk/toolchain/icc/rte.vars.mk
mk: pass CC option for kernel modules
[dpdk.git] / mk / toolchain / icc / rte.vars.mk
index 612370d8a6c28af3656e8c616fa0080dc757c0ac..f03a2a27c55ecc30e5320b5fd2696bb364cf828f 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