Received: by 10.223.176.5 with SMTP id f5csp1160831wra; Sat, 27 Jan 2018 17:42:24 -0800 (PST) X-Google-Smtp-Source: AH8x2260U8ZW4RoCyy1G8qxlft2vGfp3UC3rKH1yWAiLiiowsTsVbcRfkwHrpfCD2czbU/Fu1Ctn X-Received: by 10.99.36.68 with SMTP id k65mr19028482pgk.345.1517103744280; Sat, 27 Jan 2018 17:42:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517103744; cv=none; d=google.com; s=arc-20160816; b=XT76Rgo+Z6zE2ScwKfrPDU4lQgn/NmfM1nzocx8ngFu7ZwIli43IWzFdqc1jMlLph5 9R+IRV7/8OjXzf+ufiD10zdhTa6/MGgkAp8/LaXDVctSDrl7u0wPFFZ7tyQf60aoeqAq g85K6R8ahg9X/YsWDVC2jvV1j4NRwdql5vizMf5E2lKG4zYGr4lLSLkG29fUPjYocdB9 a5w34AMHG6ioBGR35kUqkWNpZAJ/x+sV5WwadwwURA/k352OzDe6L9Id4ZKF3NxNv5gb Cw8sEIbqWhk9J136IDNGtTYDW/FeE+62qbtUyc2OsJnaBeuFgm5BgTAmd/iShVD2ABH8 fHaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature:dkim-filter :arc-authentication-results; bh=FrCCVYJIdAKCK87/nqS9meDJK3K1QffXTwcoPfVZDmo=; b=ENT5bYuRxarJGq4zrKUS83as5DTKjY/CW80NGPZHj8gGSWByDFMn+kqsfunvG2Xauq X/d0WfrxOfaanijad8CkubWcIVpKcpjUdzIPY6PkB2xZCZMaQtClRIPOKutfmuBFxJFC GJPeb1EskPq4BqxI7e7/L3T902GgdgIpdXZBlO6Dh2wKUVBaTIanNnab0iBWmEQxjxn1 45ZPZTFd5h/uvKx293+xhVcAKP60IQemfOVo74mS/enImWshPKObwMD6EgWUYT1ajRKn +GurLVMjvWKppzn91Q7Evi3C3Mi4vRmfHoA+NVNGexgPnVprRLbBroHKoWIDRCfuwmYj qCrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=SUqXaFaD; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f34-v6si5698673ple.102.2018.01.27.17.41.59; Sat, 27 Jan 2018 17:42:24 -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=@nifty.com header.s=dec2015msa header.b=SUqXaFaD; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753248AbeA1BlZ (ORCPT + 99 others); Sat, 27 Jan 2018 20:41:25 -0500 Received: from conssluserg-05.nifty.com ([210.131.2.90]:20525 "EHLO conssluserg-05.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751607AbeA1BlY (ORCPT ); Sat, 27 Jan 2018 20:41:24 -0500 Received: from mail-vk0-f52.google.com (mail-vk0-f52.google.com [209.85.213.52]) (authenticated) by conssluserg-05.nifty.com with ESMTP id w0S1fDqv006208; Sun, 28 Jan 2018 10:41:14 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-05.nifty.com w0S1fDqv006208 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1517103674; bh=FrCCVYJIdAKCK87/nqS9meDJK3K1QffXTwcoPfVZDmo=; h=In-Reply-To:References:From:Date:Subject:To:Cc:From; b=SUqXaFaDQRvBfmDk0VP5D3tqe3GN6fpOQU1jP/dOId74QYnGLOle4oG+iaL6qu3GS GSapJQFGPAfovkxn4oNtR1fAUkzf0JVJpCuCb9r+4yVCneiuMzPF2YSWcCS85P8PPF VZz85cmKA3NYHRrO0p4i08gDTsk2sPa8mQCE3R0QqgFKn1xY1rt8rZg3g8sggSDraX VBPSP0si+CjGfOLWi6lcb3oV0O8oVOlWOjqPllNMmXaW3MVY0/bt35i3oCu+g1e8ku b++cAzg4omxsr8F1qsLW14/AYopaTkYJe1imaK/2EV6VvMsShodYqeXnDX/MbGF0IG 2L8WD+3l8t6UQ== X-Nifty-SrcIP: [209.85.213.52] Received: by mail-vk0-f52.google.com with SMTP id f186so2507829vkc.1; Sat, 27 Jan 2018 17:41:14 -0800 (PST) X-Gm-Message-State: AKwxytdJl8EgVOUplo5NURc0ToEkLhwKj/6/fGaXGwEJLUIByUkdRueG TUkcoLG9VY1/BpuwZL4qm6mYGVJ7s34r9OyPPjc= X-Received: by 10.31.92.142 with SMTP id q136mr14591832vkb.29.1517103673178; Sat, 27 Jan 2018 17:41:13 -0800 (PST) MIME-Version: 1.0 Received: by 10.159.49.90 with HTTP; Sat, 27 Jan 2018 17:40:32 -0800 (PST) In-Reply-To: <20180126225900.32206-1-marc.herbert@intel.com> References: <20171219012656.23728-1-marc.herbert@intel.com> <20180126225900.32206-1-marc.herbert@intel.com> From: Masahiro Yamada Date: Sun, 28 Jan 2018 10:40:32 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v3] Remove silentoldconfig from help and docs; fix kconfig/conf's help To: Marc Herbert Cc: Linux Kbuild mailing list , Linux Kernel Mailing List , Michal Marek , Wayne Boyer Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 2018-01-27 7:59 GMT+09:00 Marc Herbert : > As explained by Michal Marek at https://lkml.org/lkml/2011/8/31/189 > silentoldconfig has become a misnomer. It has become an internal interface > so remove it from "make help" and Documentation/ to stop confusing people > using it as seen for instance at > https://chromium-review.googlesource.com/835632 Don't remove it from > kconfig/Makefile yet not to break any (other) tool using it. > > On the other hand, correct and expand its description in the help of > the (internal) scripts/kconfig/conf.c > > Signed-off-by: Marc Herbert > --- > v2: rewordings (Masahiro) > v3: remove from Documentation/ too. Add warning comments in source. > > Documentation/admin-guide/README.rst | 5 ----- > scripts/kconfig/Makefile | 7 ++++--- > scripts/kconfig/conf.c | 6 ++++-- > 3 files changed, 8 insertions(+), 10 deletions(-) > > diff --git a/Documentation/admin-guide/README.rst b/Documentation/admin-guide/README.rst > index 63066db39910..af5a437198d0 100644 > --- a/Documentation/admin-guide/README.rst > +++ b/Documentation/admin-guide/README.rst > @@ -170,11 +170,6 @@ Configuring the kernel > your existing ./.config file and asking about > new config symbols. > > - "make silentoldconfig" > - Like above, but avoids cluttering the screen > - with questions already answered. > - Additionally updates the dependencies. > - > "make olddefconfig" > Like above, but sets new symbols to their default > values without prompting. > diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile > index df6469fd3dcc..a460f9f7b733 100644 > --- a/scripts/kconfig/Makefile > +++ b/scripts/kconfig/Makefile > @@ -34,6 +34,8 @@ config: $(obj)/conf > nconfig: $(obj)/nconf > $< $(silent) $(Kconfig) > > +# This has become an internal implementation detail and is now deprecated > +# for external use. > silentoldconfig: $(obj)/conf > $(Q)mkdir -p include/config include/generated > $(Q)test -e include/generated/autoksyms.h || \ > @@ -142,7 +144,6 @@ help: > @echo ' oldconfig - Update current config utilising a provided .config as base' > @echo ' localmodconfig - Update current config disabling modules not loaded' > @echo ' localyesconfig - Update current config converting local mods to core' > - @echo ' silentoldconfig - Same as oldconfig, but quietly, additionally update deps' > @echo ' defconfig - New config with default from ARCH supplied defconfig' > @echo ' savedefconfig - Save current config as ./defconfig (minimal config)' > @echo ' allnoconfig - New config where all options are answered with no' > @@ -151,8 +152,8 @@ help: > @echo ' alldefconfig - New config with all symbols set to default' > @echo ' randconfig - New config with random answer to all options' > @echo ' listnewconfig - List new options' > - @echo ' olddefconfig - Same as silentoldconfig but sets new symbols to their' > - @echo ' default value' > + @echo ' olddefconfig - Same as oldconfig but sets new symbols to their' > + @echo ' default value without prompting' > @echo ' kvmconfig - Enable additional options for kvm guest kernel support' > @echo ' xenconfig - Enable additional options for xen dom0 and guest kernel support' > @echo ' tinyconfig - Configure the tiniest possible kernel' > diff --git a/scripts/kconfig/conf.c b/scripts/kconfig/conf.c > index a8a97efd3dfc..a309ccec1000 100644 > --- a/scripts/kconfig/conf.c > +++ b/scripts/kconfig/conf.c > @@ -457,6 +457,7 @@ static void check_conf(struct menu *menu) > static struct option long_opts[] = { > {"oldaskconfig", no_argument, NULL, oldaskconfig}, > {"oldconfig", no_argument, NULL, oldconfig}, > + /* Has become a misnomer, "syncconfig" would be more accurate */ I removed this line (since nobody is sure about the future), then applied to linux-kbuild/kconfig. Thanks! > {"silentoldconfig", no_argument, NULL, silentoldconfig}, > {"defconfig", optional_argument, NULL, defconfig}, > {"savedefconfig", required_argument, NULL, savedefconfig}, > @@ -484,8 +485,9 @@ static void conf_usage(const char *progname) > printf(" --listnewconfig List new options\n"); > printf(" --oldaskconfig Start a new configuration using a line-oriented program\n"); > printf(" --oldconfig Update a configuration using a provided .config as base\n"); > - printf(" --silentoldconfig Same as oldconfig, but quietly, additionally update deps\n"); > - printf(" --olddefconfig Same as silentoldconfig but sets new symbols to their default value\n"); > + printf(" --silentoldconfig Similar to oldconfig but generates configuration in\n" > + " include/{generated/,config/} (oldconfig used to be more verbose)\n"); > + printf(" --olddefconfig Same as oldconfig but sets new symbols to their default value\n"); > printf(" --oldnoconfig An alias of olddefconfig\n"); > printf(" --defconfig New config with default defined in \n"); > printf(" --savedefconfig Save the minimal current configuration to \n"); > -- > 2.13.6 > > -- > To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -- Best Regards Masahiro Yamada