From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-we0-f181.google.com (mail-we0-f181.google.com [74.125.82.181]) by dpdk.org (Postfix) with ESMTP id 795FFAFD4 for ; Fri, 25 Apr 2014 14:00:17 +0200 (CEST) Received: by mail-we0-f181.google.com with SMTP id q58so3392560wes.26 for ; Fri, 25 Apr 2014 05:00:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=pAFnXGKT+HLBkb2cvdvRK5qUo3wKgMq1I5vjiuI/5WE=; b=inHPaFCN6ooQL+8ogJl6PWmd178EZikDkXP8blexRUzZilCGxBgEayBtwqTyWZHQ0+ QR6beiLaPCtXyHTrzk7bv3VGOzaW9J9c1mLk5JK1yUOHXGjfPrEjbK4EboP5fKQAwgkG 8TMyOAuEEl3Z7+osr9aS/zVifSow7jYPcH2Grk6IO9cHITmsJTOuEYzwwHHqg68rKCPf /Lc4MAtOS06e0SqbnJHK9hasSumFge5fBgfekE9N8nXMhqY9roacteYrYV5PRrJtxbz8 kK6krxHn+Fqbi/CrYgfqRS4HJBUAFr5+YG9JrJ0NtvUhPflQusjS+/n3Y2BVCTO2lmjg h32A== X-Gm-Message-State: ALoCoQl9T2iPWteDFEccleZ9RQXNmeNMnFLvv/Wb71h/zskqiMmVPl8UpY/fVANXGunXUV8goF1s X-Received: by 10.180.182.166 with SMTP id ef6mr3371179wic.29.1398427220170; Fri, 25 Apr 2014 05:00:20 -0700 (PDT) Received: from glumotte.dev.6wind.com (6wind.net2.nerim.net. [213.41.180.237]) by mx.google.com with ESMTPSA id q2sm5487386wix.5.2014.04.25.05.00.18 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 25 Apr 2014 05:00:19 -0700 (PDT) From: Olivier Matz To: dev@dpdk.org Date: Fri, 25 Apr 2014 13:59:46 +0200 Message-Id: <1398427188-14914-9-git-send-email-olivier.matz@6wind.com> X-Mailer: git-send-email 1.9.2 In-Reply-To: <1398427188-14914-1-git-send-email-olivier.matz@6wind.com> References: <1398427188-14914-1-git-send-email-olivier.matz@6wind.com> Subject: [dpdk-dev] [PATCH 08/10] bsd/mk: use the Q variable instead of @ for quiet commands X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Apr 2014 12:00:18 -0000 This allows to use V=1 to be more verbose to debug the build process of a bsd kernel module. Signed-off-by: Olivier Matz --- mk/rte.bsdmodule.mk | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/mk/rte.bsdmodule.mk b/mk/rte.bsdmodule.mk index 6224715..28b5189 100644 --- a/mk/rte.bsdmodule.mk +++ b/mk/rte.bsdmodule.mk @@ -74,24 +74,24 @@ build: _postbuild # Link all sources in build directory %_link: FORCE $(if $(call compare,$(notdir $*),$*),\ - @if [ ! -f $(notdir $(*)) ]; then ln -nfs $(SRCDIR)/$(*) . ; fi,\ - @if [ ! -f $(notdir $(*)) ]; then ln -nfs $(SRCDIR)/$(*) . ; fi) + $(Q)if [ ! -f $(notdir $(*)) ]; then ln -nfs $(SRCDIR)/$(*) . ; fi,\ + $(Q)if [ ! -f $(notdir $(*)) ]; then ln -nfs $(SRCDIR)/$(*) . ; fi) # build module $(MODULE).ko: $(SRCS_LINKS) - @if [ ! -f $(notdir Makefile) ]; then ln -nfs $(SRCDIR)/Makefile . ; fi - @if [ ! -f $(notdir BSDmakefile) ]; then ln -nfs $(SRCDIR)/BSDmakefile . ; fi - @MAKEFLAGS= $(BSDMAKE) -v + $(Q)if [ ! -f $(notdir Makefile) ]; then ln -nfs $(SRCDIR)/Makefile . ; fi + $(Q)if [ ! -f $(notdir BSDmakefile) ]; then ln -nfs $(SRCDIR)/BSDmakefile . ; fi + $(Q)MAKEFLAGS= $(BSDMAKE) # install module in $(RTE_OUTPUT)/kmod $(RTE_OUTPUT)/kmod/$(MODULE).ko: $(MODULE).ko - @echo INSTALL-MODULE $(MODULE).ko - @[ -d $(RTE_OUTPUT)/kmod ] || mkdir -p $(RTE_OUTPUT)/kmod - @cp -f $(MODULE).ko $(RTE_OUTPUT)/kmod + $(Q)echo INSTALL-MODULE $(MODULE).ko + $(Q)[ -d $(RTE_OUTPUT)/kmod ] || mkdir -p $(RTE_OUTPUT)/kmod + $(Q)cp -f $(MODULE).ko $(RTE_OUTPUT)/kmod # install module modules_install: - @MAKEFLAGS= $(BSDMAKE) install + $(Q)MAKEFLAGS= $(BSDMAKE) install .PHONY: clean clean: _postclean @@ -99,12 +99,12 @@ clean: _postclean # do a make clean and remove links .PHONY: doclean doclean: - @if [ ! -f $(notdir Makefile) ]; then ln -nfs $(SRCDIR)/Makefile . ; fi + $(Q)if [ ! -f $(notdir Makefile) ]; then ln -nfs $(SRCDIR)/Makefile . ; fi $(Q)$(MAKE) -C $(RTE_KERNELDIR) M=$(CURDIR) O=$(RTE_KERNELDIR) clean - @$(foreach FILE,$(SRCS-y) $(SRCS-n) $(SRCS-),\ + $(Q)$(foreach FILE,$(SRCS-y) $(SRCS-n) $(SRCS-),\ if [ -h $(notdir $(FILE)) ]; then rm -f $(notdir $(FILE)) ; fi ;) - @if [ -h $(notdir Makefile) ]; then rm -f $(notdir Makefile) ; fi - @rm -f $(_BUILD_TARGETS) $(_INSTALL_TARGETS) $(_CLEAN_TARGETS) \ + $(Q)if [ -h $(notdir Makefile) ]; then rm -f $(notdir Makefile) ; fi + $(Q)rm -f $(_BUILD_TARGETS) $(_INSTALL_TARGETS) $(_CLEAN_TARGETS) \ $(INSTALL-FILES-all) include $(RTE_SDK)/mk/internal/rte.install-post.mk -- 1.9.2