From patchwork Tue Jul 3 09:10:49 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dirk Gouders X-Patchwork-Id: 10503547 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 848526035E for ; Tue, 3 Jul 2018 09:15:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7474E28699 for ; Tue, 3 Jul 2018 09:15:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6881D28A13; Tue, 3 Jul 2018 09:15:30 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.0 required=2.0 tests=BAYES_00, DKIM_ADSP_DISCARD, DKIM_SIGNED, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6083028699 for ; Tue, 3 Jul 2018 09:15:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754500AbeGCJP2 (ORCPT ); Tue, 3 Jul 2018 05:15:28 -0400 Received: from services.gouders.net ([141.101.32.176]:55465 "EHLO services.gouders.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754096AbeGCJP2 (ORCPT ); Tue, 3 Jul 2018 05:15:28 -0400 Received: from lena.gouders.net ([193.175.198.193]) (authenticated bits=0) by services.gouders.net (8.14.8/8.14.8) with ESMTP id w639ArjE013705 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Tue, 3 Jul 2018 11:11:03 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gouders.net; s=gnet; t=1530609064; bh=yzGx+1IaftnND1aVTM2ZjtPwaYja/DQPEp1N81GpYHM=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=qgg1Snl225Vv1L628gFLbb/3JruobL33fR9uW1szj54fz+oaFLJMhoSBlbU1lebiQ Y1iyaVX1us3OU2V4Ep0/1iOlvVmTu7g8SHdi8D2D1aPHFWiE1n1X/9ilFnlB/my7Bz sqPGTfGjKhW1IVh0ZZOwvj1q9QuoOuj85gJd8tMA= From: Dirk Gouders To: Masahiro Yamada Cc: Dirk Gouders , Linux Kbuild mailing list , Sam Ravnborg Subject: [PATCH v2] kconfig: fix comment for symbol flag SYMBOL_AUTO Date: Tue, 3 Jul 2018 11:10:49 +0200 Message-Id: <20180703091049.7381-1-dirk@gouders.net> X-Mailer: git-send-email 2.16.1 In-Reply-To: References: Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Over time, the use of the flag changed from initially marking three automatically generated symbols ARCH, KERNELRELEASE and UNAME_RELEASE to protecting symbols from being written out, today. Currently, only symbols of type CHOICE and those with option defconf_list set have that flag set so that they are not written out. Document the current effect of that flag. Signed-off-by: Dirk Gouders Cc: Sam Ravnborg --- scripts/kconfig/expr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/kconfig/expr.h b/scripts/kconfig/expr.h index f63b41b0dd49..08f5e223a9e3 100644 --- a/scripts/kconfig/expr.h +++ b/scripts/kconfig/expr.h @@ -141,7 +141,7 @@ struct symbol { #define SYMBOL_OPTIONAL 0x0100 /* choice is optional - values can be 'n' */ #define SYMBOL_WRITE 0x0200 /* write symbol to file (KCONFIG_CONFIG) */ #define SYMBOL_CHANGED 0x0400 /* ? */ -#define SYMBOL_AUTO 0x1000 /* value from environment variable */ +#define SYMBOL_AUTO 0x1000 /* Symbol for internal use only; it will not be written */ #define SYMBOL_CHECKED 0x2000 /* used during dependency checking */ #define SYMBOL_WARNED 0x8000 /* warning has been issued */