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>
This commit is contained in:
parent
139debc42d
commit
5e98328904
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user