From patchwork Tue Apr 28 06:38:34 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vineet Gupta X-Patchwork-Id: 465363 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id 0FF9F1400DE for ; Tue, 28 Apr 2015 16:38:43 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 5D347950AB; Tue, 28 Apr 2015 06:38:42 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id y6HNomaGR9dg; Tue, 28 Apr 2015 06:38:41 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 9B44293139; Tue, 28 Apr 2015 06:38:41 +0000 (UTC) X-Original-To: uclibc@lists.busybox.net Delivered-To: uclibc@osuosl.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 848DE1C2254 for ; Tue, 28 Apr 2015 06:38:40 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 8031093139 for ; Tue, 28 Apr 2015 06:38:40 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id b-KUotzINYzg for ; Tue, 28 Apr 2015 06:38:39 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from smtprelay.synopsys.com (us01smtprelay-2.synopsys.com [198.182.47.9]) by hemlock.osuosl.org (Postfix) with ESMTPS id 9AEC18B3D1 for ; Tue, 28 Apr 2015 06:38:39 +0000 (UTC) Received: from us02secmta1.synopsys.com (us02secmta1.synopsys.com [10.12.235.96]) by smtprelay.synopsys.com (Postfix) with ESMTP id 7DD5E24E10D6; Mon, 27 Apr 2015 23:38:38 -0700 (PDT) Received: from us02secmta1.internal.synopsys.com (us02secmta1.internal.synopsys.com [127.0.0.1]) by us02secmta1.internal.synopsys.com (Service) with ESMTP id 704D74E214; Mon, 27 Apr 2015 23:38:38 -0700 (PDT) Received: from mailhost.synopsys.com (unknown [10.13.184.66]) by us02secmta1.internal.synopsys.com (Service) with ESMTP id 324154E202; Mon, 27 Apr 2015 23:38:38 -0700 (PDT) Received: from mailhost.synopsys.com (localhost [127.0.0.1]) by mailhost.synopsys.com (Postfix) with ESMTP id 20942F5D; Mon, 27 Apr 2015 23:38:38 -0700 (PDT) Received: from us01wehtc1.internal.synopsys.com (us01wehtc1.internal.synopsys.com [10.12.239.235]) by mailhost.synopsys.com (Postfix) with ESMTP id DB775F5C; Mon, 27 Apr 2015 23:38:37 -0700 (PDT) Received: from US02VWCASHYB1.internal.synopsys.com (10.12.237.251) by us01wehtc1.internal.synopsys.com (10.12.239.231) with Microsoft SMTP Server (TLS) id 14.3.195.1; Mon, 27 Apr 2015 23:38:37 -0700 Received: from IN01WEHTCB.internal.synopsys.com (10.144.199.106) by US02VWCASHYB1.internal.synopsys.com (10.12.237.251) with Microsoft SMTP Server (TLS) id 14.3.195.1; Mon, 27 Apr 2015 23:38:37 -0700 Received: from IN01WEMBXB.internal.synopsys.com ([169.254.4.157]) by IN01WEHTCB.internal.synopsys.com ([::1]) with mapi id 14.03.0195.001; Tue, 28 Apr 2015 12:08:34 +0530 From: Vineet Gupta To: Bernhard Reutner-Fischer , Waldemar Brodkorb Subject: Re: [Buildroot] uClibc build verbosity control Thread-Topic: [Buildroot] uClibc build verbosity control Thread-Index: AdCAwvkxRq0NR4IzQgOGoyWbdPTm6w== Date: Tue, 28 Apr 2015 06:38:34 +0000 Message-ID: References: <20150427092110.GF8309@waldemar-brodkorb.de> <64AC6559-D358-40F8-8543-1C2D6DEEE01E@gmail.com> Accept-Language: en-US, en-IN Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.12.197.3] MIME-Version: 1.0 Cc: "buildroot@busybox.net" , uclibc-mailing list , Alexey Brodkin X-BeenThere: uclibc@uclibc.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Discussion and development of uClibc \(the embedded C library\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: uclibc-bounces@uclibc.org Sender: "uClibc" On Tuesday 28 April 2015 01:46 AM, Bernhard Reutner-Fischer wrote: On April 27, 2015 11:21:10 AM GMT+02:00, Waldemar Brodkorb wrote: >Hi Vineet, >Vineet Gupta wrote, > >> Hi, >> >> uClibc verbosity control V=xx is different from other mainstream >projects: namely Busybox and Linux kernel. >> To print full cmdlines (when debugging obscure toolchain issues) we >need to pass V=2 whereas kernel/busybox take V=1. >> >> Can this be changed (I can provide a patch) assuming this doesn't >break existing scripts upsetting some people. >> >> My issue is specifically when using likes of Buildroot, there's no >obvious way to get the cmdlines of uClibc and/or other projects (unless >there's some obvious way I'm missing). Just add V=2 to make flags used for uclibc? Still requires manually hacking some Makefile etc, since V=xx is tyoically given at cmdline once for entire build. > >Good idea. Send a patch. I am pro. I found the terse output with just defines rather neat. If there is consensus that the current V=1 has no benefit then we can drop it in favour of just silent 0 and fully verbose 1. No, the idea is to keep both V=1 and V=2, but make them like other projects. e.g. in kernel build, V=2 prints the single liners, while V=1 prints the verbose cmdline, While in uClibc it's the other way around. Same with Busybox AFAIKR. Simple patch below addresses that, please consider applying. ---------------------->8------------------------- From 52a6620ea078d65d058b97b9785c3b3b0c3b0a0b Mon Sep 17 00:00:00 2001 From: Vineet Gupta Date: Tue, 28 Apr 2015 12:02:56 +0530 Subject: [PATCH] buildsys: Change build verbostiy behaviour V=n Currently V=2 prints the verbose cmdline, anything else (say V=1) prints the terse single liners. This doesn't match with other projects such as kernel/busybox. So change that by making V=1 print the verbose cmdline and others (say V=2) to print the single liners. Signed-off-by: Vineet Gupta --- Makerules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 1.9.1 diff --git a/Makerules b/Makerules index 3ef756ecbd74..d6f7e2460ffe 100644 --- a/Makerules +++ b/Makerules @@ -94,7 +94,7 @@ else export MAKE_IS_SILENT := n SECHO := @echo ifneq ($(V)$(VERBOSE),) -ifeq ($(V),1) +ifeq ($(V),2) DISP := bri# brief, like pur but with defines Q := @ else