From owner-freebsd-current@FreeBSD.ORG Mon Dec 16 19:48:38 2013 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 58418690 for ; Mon, 16 Dec 2013 19:48:38 +0000 (UTC) Received: from mail-ie0-f176.google.com (mail-ie0-f176.google.com [209.85.223.176]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 236431362 for ; Mon, 16 Dec 2013 19:48:37 +0000 (UTC) Received: by mail-ie0-f176.google.com with SMTP id at1so7077692iec.21 for ; Mon, 16 Dec 2013 11:48:37 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=enj9jvniV5WOImhX90L4FcEeEFIfzkQkTBrMCc8eFbg=; b=gIG5+4SeiVPTceKzPivzi7NN8v9Zu1K1UFqszS29GlE8mrcWBi9Br75FVHqxlwz5Hf DPBHoyayD30fRf64PRbgXxpV07JqBbM3qtRd6FtGtVzoscVyNMaX+lKbQa6S2X++BR3f DPzumahQprQywfFZQ1SVW1n0lbNPS63xb0KDfdTNzELHNM3QjcWtnE2putt0NG41D0UP HFpqLpiahyjPjdP5N+49Vni76WDCPTTaW7sp0qEJPlVFuSSNgTqg0+TgkmnGYmqemOAr by8mcNRpNygoIy48fcsq3RwFDSb1JfVQ5wty+MId2YhTY+OOTFyvirSwrCFCNfeCnTbg nXrA== X-Gm-Message-State: ALoCoQnc/vqUMb12KLgE3jqCSVhweE07uy8n9gG6PwSz16LOvcXGbWyTAVuKbLfIf895U3eiJ/EG X-Received: by 10.43.60.139 with SMTP id ws11mr13729183icb.12.1387223317122; Mon, 16 Dec 2013 11:48:37 -0800 (PST) MIME-Version: 1.0 Received: by 10.64.59.33 with HTTP; Mon, 16 Dec 2013 11:48:17 -0800 (PST) X-Originating-IP: [2620:0:1003:1007:4194:b379:7368:b423] In-Reply-To: <20131216184626.GA17125@onelab2.iet.unipi.it> References: <20131216184626.GA17125@onelab2.iet.unipi.it> From: Julio Merino Date: Mon, 16 Dec 2013 14:48:17 -0500 Message-ID: Subject: Re: RFC: less chatty system builds To: Luigi Rizzo Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Dec 2013 19:48:38 -0000 On Mon, Dec 16, 2013 at 1:46 PM, Luigi Rizzo wrote: > The following is a proof-of-concept patch to make system builds > less chatty. > > It also has the nice side effect of showing more clearly > which rules are used during the build and possibly help > debugging the share/mk files and the individual Makefiles. > I like the feature having used it in NetBSD routinely. Have you checked how NetBSD does this? It seems you are going for a yes/no approach while NetBSD supports various levels of verbosity. Trying to copy what's done there may be a good idea, if only at the interface level. Search for MAKEVERBOSE as a starting point here: http://cvsweb.netbsd.org/bsdweb.cgi/src/share/mk/bsd.own.mk?rev=1.759&content-type=text/x-cvsweb-markup&only_with_tag=MAIN -- Julio Merino / @jmmv