From patchwork Mon Oct 29 15:41:27 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 149668 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp4297841ljp; Mon, 29 Oct 2018 08:41:48 -0700 (PDT) X-Google-Smtp-Source: AJdET5ckClmvHluu6dHfk1/p0UEgSTT48DNucBUZbmbpiqmjySlFt1kpK5l5+lbHgU03rH80KGPf X-Received: by 2002:a17:902:4381:: with SMTP id j1-v6mr14563900pld.59.1540827707834; Mon, 29 Oct 2018 08:41:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540827707; cv=none; d=google.com; s=arc-20160816; b=WWDT1e5ANPEHgoEzVYg4aEkf7x71R/MMBk5GZeHFU++a8tlqtC5AWt5G+5uqNK6O6/ WK9kEZKKmNPgufJBZOREfuMdxbZRijOEiFvcQc796PM0Y3mhWBcZqBEu4xxB01nDBw5Z clYfb8zAhx2ZRf9J4aWCVwEqgDwfvSkNFqw50jD8WWt21F4wRIayKrfOLrPPyZCxTbmt zUUwqiCivZhPgnumQTz/isJwQEZzyWOcbVBb2Gsorpfd5JozVBYCNmbC3n0bJC5tgY0b yCJP2RakxgI5w3qjDAZpjso6o+frNbBdc6snHn3e7qajn8so4geHTIbBioQCo0VqvSzX ifvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:dkim-filter; bh=HMAzEtLUBQ8jV61vaUgZPyx7GDQriWLLUT3ZTQfut0g=; b=m5quAkmws1D5/rwlWxvohxv/MY+OOyhveoosk+AVhqn1rD25zvumS/X1LPU8n/6wMX bkQa87COWybgFOvfQszLLhCmbzhtzXv+3a3KQ3vebTLv7kUK0uHsgEXKo8eTAQSgHNzH NIahggwXe7yejYS4L6YsNqjwhvunVxnVdG4QD1aMDnBWuVR+V+o5vDx5vNi4f6x7A0As DYUUNoOCMMDLUUX3DiS5ApDbbmMJ2s5oxCk/IZf4eKh4vaS44pT7tQhTAMhrBROvltqc FkmbcLviVk9OTK0K168Ez4qQt5CH+MAW/c4ZTpqN6J+Ys0bKeWSpTyHDfCcVCI/gX/kS CHyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b="x/16oJ45"; 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 g10-v6si20751511pgc.232.2018.10.29.08.41.47; Mon, 29 Oct 2018 08:41:47 -0700 (PDT) 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="x/16oJ45"; 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 S1727709AbeJ3Aax (ORCPT + 32 others); Mon, 29 Oct 2018 20:30:53 -0400 Received: from conuserg-10.nifty.com ([210.131.2.77]:25348 "EHLO conuserg-10.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727666AbeJ3Aax (ORCPT ); Mon, 29 Oct 2018 20:30:53 -0400 Received: from grover.tkatk1.zaq.ne.jp (zaqdadce369.zaq.ne.jp [218.220.227.105]) (authenticated) by conuserg-10.nifty.com with ESMTP id w9TFfWK2013655; Tue, 30 Oct 2018 00:41:32 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-10.nifty.com w9TFfWK2013655 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1540827692; bh=HMAzEtLUBQ8jV61vaUgZPyx7GDQriWLLUT3ZTQfut0g=; h=From:To:Cc:Subject:Date:From; b=x/16oJ45sYdXqK1urzvNx62AfT54nJeWSvGIXDxeuBU0EelgcjsPSwq9816mm4Nr7 Bj2bbnVsYuk2bMXExQfvvpWUbPSJ3S+TTQQ197VpXh26/XZmP6qnn0Jt7YmlSDFjqe WyDS0up9Cq2vW+3EjFuPyMYQqPWQ+zayVJ47n+38JiKDH1OlMU+Xab5XrBzADmXoy4 ILOaGzGwHxer3JV8U9WquBUOHM6WJt/U2LzuD9LqsNGGzg6I1OdOKdzHT8dGmO+8Bp yAAnt2/W2YzbFM8zb1ILYyX5BWWN01Hl1bVKadr/2i1QcHo4nfFI3NlRRe2xVhMVOp iq3G6xvmlF2zw== X-Nifty-SrcIP: [218.220.227.105] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: Masahiro Yamada , linux-kernel@vger.kernel.org Subject: [PATCH 1/2] kconfig: remove oldnoconfig target Date: Tue, 30 Oct 2018 00:41:27 +0900 Message-Id: <1540827688-15999-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org As commit 312ee68752fa ("kconfig: announce removal of oldnoconfig if used") announced, it is time for the removal. Signed-off-by: Masahiro Yamada --- scripts/kconfig/Makefile | 9 +-------- scripts/kconfig/conf.c | 7 ------- 2 files changed, 1 insertion(+), 15 deletions(-) -- 2.7.4 diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile index 67ed9f6..5d37a60 100644 --- a/scripts/kconfig/Makefile +++ b/scripts/kconfig/Makefile @@ -68,14 +68,7 @@ PHONY += $(simple-targets) $(simple-targets): $(obj)/conf $< $(silent) --$@ $(Kconfig) -PHONY += oldnoconfig silentoldconfig savedefconfig defconfig - -# oldnoconfig is an alias of olddefconfig, because people already are dependent -# on its behavior (sets new symbols to their default value but not 'n') with the -# counter-intuitive name. -oldnoconfig: olddefconfig - @echo " WARNING: \"oldnoconfig\" target will be removed after Linux 4.19" - @echo " Please use \"olddefconfig\" instead, which is an alias." +PHONY += silentoldconfig savedefconfig defconfig # We do not expect manual invokcation of "silentoldcofig" (or "syncconfig"). silentoldconfig: syncconfig diff --git a/scripts/kconfig/conf.c b/scripts/kconfig/conf.c index 7b2b372..98e0c7a 100644 --- a/scripts/kconfig/conf.c +++ b/scripts/kconfig/conf.c @@ -460,12 +460,6 @@ static struct option long_opts[] = { {"randconfig", no_argument, NULL, randconfig}, {"listnewconfig", no_argument, NULL, listnewconfig}, {"olddefconfig", no_argument, NULL, olddefconfig}, - /* - * oldnoconfig is an alias of olddefconfig, because people already - * are dependent on its behavior(sets new symbols to their default - * value but not 'n') with the counter-intuitive name. - */ - {"oldnoconfig", no_argument, NULL, olddefconfig}, {NULL, 0, NULL, 0} }; @@ -480,7 +474,6 @@ static void conf_usage(const char *progname) printf(" --syncconfig Similar to oldconfig but generates configuration in\n" " include/{generated/,config/}\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"); printf(" --allnoconfig New config where all options are answered with no\n");