summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorSimon Kagstrom <simon.kagstrom@netinsight.net>2015-09-24 09:43:28 +0200
committerThomas Monjalon <thomas.monjalon@6wind.com>2015-10-25 18:39:46 +0100
commit5e983289048a97a3f001a2a89bdb2d548ce51ada (patch)
treecd5d63cfc0a6ade07a46b841dd454734eb13845e /mk
parent139debc42dc0a320dad40f5295b74d2e3ab8a7f9 (diff)
downloaddpdk-5e983289048a97a3f001a2a89bdb2d548ce51ada.zip
dpdk-5e983289048a97a3f001a2a89bdb2d548ce51ada.tar.gz
dpdk-5e983289048a97a3f001a2a89bdb2d548ce51ada.tar.xz
mk: quote KERNELCC to allow ccache build
Otherwise building with KERNELCC="ccache gcc" will fail: ccache: invalid option -- 'p' Signed-off-by: Simon Kagstrom <simon.kagstrom@netinsight.net> Acked-by: Olivier Matz <olivier.matz@6wind.com>
Diffstat (limited to 'mk')
-rw-r--r--mk/rte.module.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/rte.module.mk b/mk/rte.module.mk
index 7bf77c1..53ed4fe 100644
--- a/mk/rte.module.mk
+++ b/mk/rte.module.mk
@@ -78,7 +78,7 @@ build: _postbuild
$(MODULE).ko: $(SRCS_LINKS)
@if [ ! -f $(notdir Makefile) ]; then ln -nfs $(SRCDIR)/Makefile . ; fi
@$(MAKE) -C $(RTE_KERNELDIR) M=$(CURDIR) O=$(RTE_KERNELDIR) \
- CC=$(KERNELCC) CROSS_COMPILE=$(CROSS) V=$(if $V,1,0)
+ CC="$(KERNELCC)" CROSS_COMPILE=$(CROSS) V=$(if $V,1,0)
# install module in $(RTE_OUTPUT)/kmod
$(RTE_OUTPUT)/kmod/$(MODULE).ko: $(MODULE).ko