From patchwork Thu Mar 1 11:18:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulf Magnusson X-Patchwork-Id: 10250997 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 38FD060211 for ; Thu, 1 Mar 2018 11:18:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 250CD28446 for ; Thu, 1 Mar 2018 11:18:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 18465289DA; Thu, 1 Mar 2018 11:18:15 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AB4FA28446 for ; Thu, 1 Mar 2018 11:18:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S967658AbeCALSO (ORCPT ); Thu, 1 Mar 2018 06:18:14 -0500 Received: from mail-lf0-f68.google.com ([209.85.215.68]:39350 "EHLO mail-lf0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S967618AbeCALSM (ORCPT ); Thu, 1 Mar 2018 06:18:12 -0500 Received: by mail-lf0-f68.google.com with SMTP id f75so8248901lfg.6; Thu, 01 Mar 2018 03:18:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=T6YhLAddsgZojZLi7d01Cwo8WK8b74wu5dNBVWSh6AA=; b=MpV61eX5JGmZcC73jzvI4ZKE0lzOVT+TAqYmrHfWrUAxP8tbGWYmqSgQjV1QSb0GjP hx94Nfou2AI+tuiB03WWbyGL9gLCVO4a6kzmMU9QdhCB3ermHjr0F+pFtwNhtYbY23lO 7Tcrwk3mausiTmKgOZpEvHHNFJBKe5N0thAs2pacS+0e7LQQwvuR74kQPNRhg1Fa59CP VqLXQFwGn4+HGhcCiVXg/CcFztsycjfXVOUwd6trIieJFZDn4izA666qlDvyKma/FQwq MnqTCQbLCr66sazoLPofLxhhlG+XMssXouicBlzwRarBOOdnGTVROxnn9XWvprnQAUAE Fc3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=T6YhLAddsgZojZLi7d01Cwo8WK8b74wu5dNBVWSh6AA=; b=I9mdAaDzeRPXqIpD65I/PSx2QS4azOkiNp2YOU0F1friX+7HcwAvdMywvaElCWdyzF 568Zx0eyLMCMP2Ppt24Mqgr4X7BpZnQ8XKM7G0aY1MPpJTbqVmYTQ0zNA4xup+/HKL+T BAeqfBB835jnZtWo0+g/l7haI/nWUhA/SloNGWSL2NYe8726EV2IQily2dv0ptZcYB2P orBPK2JTjsfdHrgkIJ+k5R6PkwUm28dVuAzUoUWzKNp/oLHdm1SRM8K+5cziR40zkhQ0 xgFYJVsTowo9VIsvPYME1AC0znKKDzY5hbkCPXlWrjDSqe24YJDe5wqMeh4l5wzkeBvM cguA== X-Gm-Message-State: AElRT7FzfYVody1ry58WOcGVAYu5RLm1rO+0ySFtfshg5mNyU7a6MDZO jchq74BrfIiIbcgtv7OVkZJCjTW9 X-Google-Smtp-Source: AG47ELuiPEjMe9+KTtjjhB5Zhvwc52R45pXFVj+4561FFVKteLs6/domlvCRaCutcAkpAB9bf4wawQ== X-Received: by 10.25.211.212 with SMTP id k203mr1230166lfg.146.1519903090946; Thu, 01 Mar 2018 03:18:10 -0800 (PST) Received: from huvuddator (ua-213-113-106-221.cust.bredbandsbolaget.se. [213.113.106.221]) by smtp.gmail.com with ESMTPSA id d18sm822303lja.1.2018.03.01.03.18.09 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 01 Mar 2018 03:18:10 -0800 (PST) Date: Thu, 1 Mar 2018 12:18:01 +0100 From: Ulf Magnusson To: Masahiro Yamada Cc: Linux Kbuild mailing list , Marc Herbert , Sam Ravnborg , Linux Kernel Mailing List Subject: [PATCH] kconfig: remove redundant streamline_config.pl prerequisite Message-ID: <20180301111801.gdhoam4kqrbqnasv@huvuddator> References: <1519776926-30459-1-git-send-email-yamada.masahiro@socionext.com> <1519776926-30459-6-git-send-email-yamada.masahiro@socionext.com> <20180228051525.a2vouqs6djnd2cnf@huvuddator> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The local{yes,mod}config targets currently have streamline_config.pl as a prerequisite. This is redundant, because streamline_config.pl is a checked-in file with no prerequisites. Remove the prerequisite and reference streamline_config.pl directly in the recipe of the rule instead. Signed-off-by: Ulf Magnusson --- scripts/kconfig/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile index 1f74336d4e23..58be52cb464d 100644 --- a/scripts/kconfig/Makefile +++ b/scripts/kconfig/Makefile @@ -77,9 +77,9 @@ silentoldconfig: $(obj)/conf touch include/generated/autoksyms.h $< $(silent) --$@ $(Kconfig) -localyesconfig localmodconfig: $(obj)/streamline_config.pl $(obj)/conf +localyesconfig localmodconfig: $(obj)/conf $(Q)mkdir -p include/config include/generated - $(Q)perl $< --$@ $(srctree) $(Kconfig) > .tmp.config + $(Q)perl $(obj)/streamline_config.pl --$@ $(srctree) $(Kconfig) > .tmp.config $(Q)if [ -f .config ]; then \ cmp -s .tmp.config .config || \ (mv -f .config .config.old.1; \