From: Sergio Gonzalez Monroy Date: Mon, 6 Oct 2014 16:09:09 +0000 (+0100) Subject: mk: pass verbose flag for kernel modules X-Git-Tag: spdx-start~10276 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=02dd5e841dcb109be47c6d2dd838867a6f68a81d;p=dpdk.git mk: pass verbose flag for kernel modules Linux kernel build system requires V=1 to enable verbose output, but current DPDK framework just check if V is defined. Fix: force V=1 when building Linux kernel modules if verbose output is enabled. Signed-off-by: Sergio Gonzalez Monroy Acked-by: Pablo de Lara Acked-by: Thomas Monjalon --- diff --git a/mk/rte.module.mk b/mk/rte.module.mk index c4ca3fdb61..d906e787fb 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) \ - CROSS_COMPILE=$(CROSS) + CROSS_COMPILE=$(CROSS) V=$(if $V,1,0) # install module in $(RTE_OUTPUT)/kmod $(RTE_OUTPUT)/kmod/$(MODULE).ko: $(MODULE).ko