From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A6675C83001 for ; Thu, 30 Apr 2020 06:19:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 822612082E for ; Thu, 30 Apr 2020 06:19:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1588227546; bh=y9TbkJUrojBNJvEqwCESs0VD7HKJ2s9fXo+sCrBvNz4=; h=From:To:Cc:Subject:Date:List-ID:From; b=MgVNUe5z4zobKQQmrlMLGR268yT6HwdBAEHpcAc0n3WcPSDEPFLYbzwBLZ549cgbb iKtDKeRsoH5sPrrNMUaTxYCsk9jK9PYbWu7eGd5atdb2POBVNZ5uTiqQ8kxN2x6Q3z MxvggMhmPJOKMSdcAh/dLpN/hq82Y2zM0mW/f0qU= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726424AbgD3GTF (ORCPT ); Thu, 30 Apr 2020 02:19:05 -0400 Received: from conuserg-08.nifty.com ([210.131.2.75]:35227 "EHLO conuserg-08.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726337AbgD3GTF (ORCPT ); Thu, 30 Apr 2020 02:19:05 -0400 Received: from oscar.flets-west.jp (softbank126090202047.bbtec.net [126.90.202.47]) (authenticated) by conuserg-08.nifty.com with ESMTP id 03U6IlOK012831; Thu, 30 Apr 2020 15:18:48 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com 03U6IlOK012831 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1588227528; bh=gaD1VqtiOrhems+zmteSxRH2XxSbswTqIOlpgqqgfXA=; h=From:To:Cc:Subject:Date:From; b=Thp0FZMEoh6/gGu5f+Rmp8AffXtOAhetOAihhiUIZDUimPVx1rWZ9UuAcKtTnK5Xj pbBWnEjDmXAB307CAnwVmX+vu06+lTjhyEJJBFGwV/BmVCBNukotf3t/EUdYgwV5XM XlIDW4VrB7Qku5syENHYemd8qQXEQ74A8Lyhr0qJAB27y8YCc/HPo2nbA2X3axzazE Jibv9kL+s5513RfohHRDZwdzNcJfsnw5OXjErVCOLtkEuFI/rfSHk1in7S4ZjYflg8 XlptkZywIj3vwNqxLwDZBYFmVktjQom0mucSuPr0/WMHwxxD2FSsLxFecqP8n9HxPP mr6QLBmIv8egg== X-Nifty-SrcIP: [126.90.202.47] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: kvm@vger.kernel.org, linux-kernel@vger.kernel.org, Masahiro Yamada Subject: [PATCH] kconfig: announce removal of 'kvmconfig' and 'xenconfig' shorthands Date: Thu, 30 Apr 2020 15:18:45 +0900 Message-Id: <20200430061845.775144-1-masahiroy@kernel.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org kvmconfig' is a shorthand for kvm_guest.config to save 7 character typing. xenconfig' is a shorthand for xen.config to save 1 character typing. There is nothing more than that. There are more files in kernel/configs/, so it is not maintainable to wire-up every config fragment to the Kconfig Makefile. Hence, we should not do this at all. These will be removed after Linux 5.10. Meanwhile, the following warning message will be displayed if they are used. WARNING: 'make kvmconfig' will be removed after Linux 5.10 Please use 'make kvm_guest.config' instead. Signed-off-by: Masahiro Yamada --- scripts/kconfig/Makefile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile index 1015abec9e58..30c69e83652b 100644 --- a/scripts/kconfig/Makefile +++ b/scripts/kconfig/Makefile @@ -96,11 +96,13 @@ configfiles=$(wildcard $(srctree)/kernel/configs/$@ $(srctree)/arch/$(SRCARCH)/c PHONY += kvmconfig kvmconfig: kvm_guest.config - @: + @echo >&2 "WARNING: 'make $@' will be removed after Linux 5.10" + @echo >&2 " Please use 'make $<' instead." PHONY += xenconfig xenconfig: xen.config - @: + @echo >&2 "WARNING: 'make $@' will be removed after Linux 5.10" + @echo >&2 " Please use 'make $<' instead." PHONY += tinyconfig tinyconfig: @@ -137,9 +139,6 @@ help: @echo ' helpnewconfig - List new options and help text' @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' - @echo ' support' @echo ' tinyconfig - Configure the tiniest possible kernel' @echo ' testconfig - Run Kconfig unit tests (requires python3 and pytest)' -- 2.25.1