From 5e983289048a97a3f001a2a89bdb2d548ce51ada Mon Sep 17 00:00:00 2001 From: Simon Kagstrom Date: Thu, 24 Sep 2015 09:43:28 +0200 Subject: [PATCH] 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 --- mk/rte.module.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.20.1