Received: by 10.223.185.116 with SMTP id b49csp5776509wrg; Tue, 27 Feb 2018 21:16:34 -0800 (PST) X-Google-Smtp-Source: AG47ELvaA62E7dqPb+n/mTn4thjC0xdkWSjwfjPCqNtjh1AZk6LtSsxV8gwkMUKFeLGLYnGZcJq3 X-Received: by 10.98.133.86 with SMTP id u83mr6772737pfd.172.1519794993934; Tue, 27 Feb 2018 21:16:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519794993; cv=none; d=google.com; s=arc-20160816; b=S7q4BweQ/VGZsZxzkhN6wa8XeCceNwW5xO5iXHwZOxzkmu3QC2DrT7O89wpJyKfBid JH7FxMtuFAemBTaU63mNiImZMfCBsEAEPm2kkr0+RpljqC4NunzZCI9N7M0CEPtj0DiE laOQEvzMxaowQ7+PJZ6U+SplkUe0Nrh4Sw4jRmFOtnW9Yb2yZNzQoB3jDKEjuGX0PNGw I1ugsX4pjWwCbqv9OTaAbWNxNeim9+G+x49rPF8zl7mqY+vDSW23ZK8bHjE/X3X0MB8u 4GNw5lhmDcHBtM70Tm9iqTqOaj2cNXZhwlLi65WD74hww2v5nOI3otcBv0OpUPsM9lKy CX3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=a1EQpsvh27cPBa+mSxXpd9OQFPmwFgxMFCBjUhuCxNY=; b=U4e2Cdjgo9n7STJOSBvN378T2VGx7pZHBBpKUt4sT6QcClknxdCq3frQgDj4ztoI3+ 0ipnOU7Zc/YS9Lv2XX0NXm73Us1Z9PaGmzO+pf5XUP7a4TbIvWsy+yzSz/Pw/bXiXHuE ILyHatcVYeVbUgQEEJHgd9XqSuNCTdrBU8zQXWATyn1xkQ+tKbBF/C6YXxleit6NelBv Wy9b9vx92QFEGkkVgU0UljJqf/NZN/27P1FKi64iR3WBCwl7nqIgwq8RA3hDMa5pQKF5 myJyknvGEbv50BbDzZbq1Gc5pGVIfNY6sF81wAuSO/7BEFKyHTHN5WdtNa4+gU3ZwnRv 9Yww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=IIxdmgwu; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g12-v6si654962pla.226.2018.02.27.21.16.18; Tue, 27 Feb 2018 21:16:33 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=IIxdmgwu; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751814AbeB1FPl (ORCPT + 99 others); Wed, 28 Feb 2018 00:15:41 -0500 Received: from mail-lf0-f66.google.com ([209.85.215.66]:38132 "EHLO mail-lf0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750835AbeB1FPk (ORCPT ); Wed, 28 Feb 2018 00:15:40 -0500 Received: by mail-lf0-f66.google.com with SMTP id i80so1632576lfg.5; Tue, 27 Feb 2018 21:15:39 -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=a1EQpsvh27cPBa+mSxXpd9OQFPmwFgxMFCBjUhuCxNY=; b=IIxdmgwuzIl2ogkzqDNvfnlcnIMqp7DEZbjJr1JG3Cw34DxhEOZRChAGjoKw8x+TlP 6w5mSjmQNfMgHN4J6MDYQ/9nUd2kVFhHHb8m9btcCMDx638h1wmZ3TzSJxKBiz7sPMwU cDtJvXMXCkC0PFzyUSNQv27iyj5US4kKHY5+KRYe3REEFq8HaD8JdD59Gs4YoZQerodw /ggQE/0PCr35fmd2JbrpC+qZtj6f60ykmLQFgrOZ7F76JDg1yQP+y44rfrdrMJM3NyZg 9V8/UiN2cbeyUlOLrkhRg/aAJm5vJYtp9SO+CpeNiHwJdRR2ftoJvZzKzosG0c2kw4W0 moNw== 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=a1EQpsvh27cPBa+mSxXpd9OQFPmwFgxMFCBjUhuCxNY=; b=cwyvCGH75JU1MMhnOPNF1EmQuU3wZN7eySdWXBpYK6oZyEeWd062FkgXENzWdTHoUd vUirO1CAZ8Qqekn116oAAeLQg9l67bIVaaq3nb1FEMATCUI9/DoScSNKsPWJVBupj8Q5 L3r40iZrQAFhEQRQrMigbibgDo7TEJAOVpGKlUXm9QtWDLDPP0gQ0j/vIxeS7WLqRrH9 S67w1vwA7it3B8c/jF4KW2vhvmngyh0ja7C7PO0O35r7qvByV2qU7WEUaUhR1M8ZEjRi CmAp+WJauVgldoUQ9s9QJqNnNERg7K4Ec5aXohKh2La6joJXZU+uA5wZKhmM7yaCZ3FE 7YsA== X-Gm-Message-State: APf1xPDy0WGbzMQwsSIhjlAKh3kBAj1iib1fjalZ2lQYJDTEXF6lar8Y a64sNJJsILcAJ4DAQpVAvogMY5XN X-Received: by 10.46.51.17 with SMTP id d17mr8357608ljc.99.1519794938806; Tue, 27 Feb 2018 21:15:38 -0800 (PST) Received: from huvuddator (ua-213-113-106-221.cust.bredbandsbolaget.se. [213.113.106.221]) by smtp.gmail.com with ESMTPSA id g70sm176428lfk.76.2018.02.27.21.15.37 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 27 Feb 2018 21:15:38 -0800 (PST) Date: Wed, 28 Feb 2018 06:15:25 +0100 From: Ulf Magnusson To: Masahiro Yamada Cc: linux-kbuild@vger.kernel.org, Marc Herbert , Sam Ravnborg , linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 5/6] kconfig: invoke oldconfig instead of silentoldconfig from local*config Message-ID: <20180228051525.a2vouqs6djnd2cnf@huvuddator> References: <1519776926-30459-1-git-send-email-yamada.masahiro@socionext.com> <1519776926-30459-6-git-send-email-yamada.masahiro@socionext.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1519776926-30459-6-git-send-email-yamada.masahiro@socionext.com> User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 28, 2018 at 09:15:25AM +0900, Masahiro Yamada wrote: > The purpose of local{yes,mod}config is to arrange the .config file > based on actually loaded modules. It is unnecessary to update > include/generated/autoconf.h and include/config/* stuff here. > > They will be automatically updated during the build. > > Signed-off-by: Masahiro Yamada > --- > > Changes in v2: > - newly added > > scripts/kconfig/Makefile | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile > index c5d1d1a..bf9289a 100644 > --- a/scripts/kconfig/Makefile > +++ b/scripts/kconfig/Makefile > @@ -49,11 +49,11 @@ localyesconfig localmodconfig: $(obj)/streamline_config.pl $(obj)/conf (Unrelated: $(obj)/streamline_config.pl is a checked-in file, so I wonder if there's any point to having it as a prerequisite of the phony targets local{yes,mod}config.) > cmp -s .tmp.config .config || \ > (mv -f .config .config.old.1; \ > mv -f .tmp.config .config; \ > - $(obj)/conf $(silent) --silentoldconfig $(Kconfig); \ > + $(obj)/conf $(silent) --oldconfig $(Kconfig); \ Maybe add extra space to keep \ aligned. > mv -f .config.old.1 .config.old) \ > else \ > mv -f .tmp.config .config; \ > - $(obj)/conf $(silent) --silentoldconfig $(Kconfig); \ > + $(obj)/conf $(silent) --oldconfig $(Kconfig); \ Ditto here. > fi > $(Q)rm -f .tmp.config > > -- > 2.7.4 > I'm not an expert on the Makefiles, but seems reasonable to me. Reviewed-by: Ulf Magnusson Cheers, Ulf