From patchwork Wed May 20 22:00:52 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Olof Johansson X-Patchwork-Id: 6450541 Return-Path: X-Original-To: patchwork-linux-kbuild@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 6FC179F1C1 for ; Wed, 20 May 2015 22:05:17 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 99530203ED for ; Wed, 20 May 2015 22:05:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 603B5203B0 for ; Wed, 20 May 2015 22:05:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753947AbbETWFO (ORCPT ); Wed, 20 May 2015 18:05:14 -0400 Received: from mail-pa0-f53.google.com ([209.85.220.53]:36108 "EHLO mail-pa0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753755AbbETWCf (ORCPT ); Wed, 20 May 2015 18:02:35 -0400 Received: by pabts4 with SMTP id ts4so81516965pab.3 for ; Wed, 20 May 2015 15:02:35 -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=v9NXyPFGaCqoi3Y8dMsffESt0wI7kmPDxQmFaUjcAhY=; b=QfmpkPzhEaJmLfpTYzs8wPbOMBKMf2Y8Nto/hEQQoh58LSssBk/tZDU2ZRvSNUpgGS lPBsoPttcTREvO6gYIswHQYJFBuVJ74Fc/t+bOXKzr2xGRj1EHLET+cjQTIqNQlEzR8o paVaYxY1NR7sfGQcDysRdAACPwvxoH4VHYPmo3Fp/nHVlQM+GxRmqIPxm5t8uAmmi5c0 0fmgZl+IJZuI8/0F+Rv5QVWzqAMG+eOoj+0Ll/3lXKG0HD2vEinhz96O4Ut9dSErqYq/ rSx/D+65gMJYVtJ6Fvd3CQgLEsuY7KDf3XxqOY3yqAYekZbb2kdDN/L2bCUQ9B9ZZxY3 lZ+w== X-Gm-Message-State: ALoCoQki1Ih2y75ydQOMiWUS8lB0V+yheIU5R1Dnnf13yV5sIveC3aFNfqRgzJFoEzlByhnVFPYm X-Received: by 10.68.223.165 with SMTP id qv5mr68171679pbc.82.1432159355041; Wed, 20 May 2015 15:02:35 -0700 (PDT) Received: from brutus.lixom.net (173-13-129-225-sfba.hfc.comcastbusiness.net. [173.13.129.225]) by mx.google.com with ESMTPSA id ux6sm17193507pab.24.2015.05.20.15.02.33 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 20 May 2015 15:02:34 -0700 (PDT) From: Olof Johansson To: yann.morin.1998@free.fr Cc: linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org, dvhart@linux.intel.com, john.stultz@linaro.org, jwboyer@redhat.com, Olof Johansson Subject: [PATCH 02/10] merge_config.sh: print warnings on stderr Date: Wed, 20 May 2015 15:00:52 -0700 Message-Id: <1432159260-39390-3-git-send-email-olof@lixom.net> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1432159260-39390-1-git-send-email-olof@lixom.net> References: <1432159260-39390-1-git-send-email-olof@lixom.net> Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Makes it easier to grab just errors/warnings in a build log. Signed-off-by: Olof Johansson --- scripts/kconfig/merge_config.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/kconfig/merge_config.sh b/scripts/kconfig/merge_config.sh index 430d002..5a01aa6 100755 --- a/scripts/kconfig/merge_config.sh +++ b/scripts/kconfig/merge_config.sh @@ -119,7 +119,7 @@ for MERGE_FILE in $MERGE_LIST ; do echo Value of $CFG is redundant by fragment $MERGE_FILE: fi sed -i "/$CFG[ =]/d" $TMP_FILE - done + done >&2 cat $MERGE_FILE >> $TMP_FILE done @@ -156,7 +156,7 @@ for CFG in $(sed -n "$SED_CONFIG_EXP" $TMP_FILE); do echo "Requested value: $REQUESTED_VAL" echo "Actual value: $ACTUAL_VAL" echo "" - fi + fi >&2 done clean_up