From patchwork Fri Mar 19 19:32:05 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Lobakin X-Patchwork-Id: 12151787 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.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS 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 02975C433DB for ; Fri, 19 Mar 2021 19:33:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C4A9761962 for ; Fri, 19 Mar 2021 19:33:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230489AbhCSTcl (ORCPT ); Fri, 19 Mar 2021 15:32:41 -0400 Received: from mail2.protonmail.ch ([185.70.40.22]:53160 "EHLO mail2.protonmail.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230449AbhCSTcQ (ORCPT ); Fri, 19 Mar 2021 15:32:16 -0400 Date: Fri, 19 Mar 2021 19:32:05 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pm.me; s=protonmail; t=1616182334; bh=0gYqyiW16TyPFK3ZonOwm02JDX0IoTuaJ9gN7oAEEjg=; h=Date:To:From:Cc:Reply-To:Subject:From; b=LT0cCQX0/cBkPGRD6rjYqNv+N/KMW7G5SVqg9UhEl8+++4G78VPhjduryN/UM+xdy 9/6Inpmn3ZEoGXni/90CpTfiCDKhuu6YFWbmOejaml3vsB80mymXAkoslQ2gGjo6XU y5T1z+4nEQkaukH9NWoQ3e6XbSwrB3rtd4UmLzdwV9CQROMVcsAgoqObM4nEr4of6A ++LNrVHqHip3oWP7Cv74gKg9uquWDUEXicqsnKMDzGVH+19XhQwBM6i7w2hNkCvlYg 7FFscNoB7rMCTxNdXnp6sXhtaen6gzhJUOhM6KlSghsfYYpSUF1lgFAy3WKdaS5z5T 5em/v9HwDiIfg== To: Masahiro Yamada From: Alexander Lobakin Cc: Alexander Lobakin , linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org Reply-To: Alexander Lobakin Subject: [PATCH 0/2] kconfig: fence choices and menuconfigs with comments in .config too Message-ID: <20210319193150.267510-1-alobakin@pm.me> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org Comment blocks for menus are great for dotconfig readability, but currently it's the only type (beside plain comments) of submenus for which these block are generated. This series expands the code to also generate such blocks for choices and menuconfigs and additionally expands the comments themselves a bit to let know if they belong to choice or menu{,config} block. Alexander Lobakin (2): kconfig: fence choices and menuconfigs with comments in .config too kconfig: mention submenu type in comment blocks in .config scripts/kconfig/confdata.c | 43 +++++++++++++++++++++++++------------- 1 file changed, 29 insertions(+), 14 deletions(-) --- 2.31.0