From: Simon Kagstrom Date: Thu, 24 Sep 2015 07:43:28 +0000 (+0200) Subject: mk: quote KERNELCC to allow ccache build X-Git-Tag: spdx-start~8364 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=5e983289048a97a3f001a2a89bdb2d548ce51ada;p=dpdk.git mk: quote KERNELCC to allow ccache build Otherwise building with KERNELCC="ccache gcc" will fail: ccache: invalid option -- 'p' Signed-off-by: Simon Kagstrom Acked-by: Olivier Matz --- diff --git a/mk/rte.module.mk b/mk/rte.module.mk index 7bf77c1957..53ed4fe98e 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