Received: by 2002:a05:7412:798b:b0:fc:a2b0:25d7 with SMTP id fb11csp138361rdb; Wed, 21 Feb 2024 21:17:12 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXwWQJAUJPXj2qA6qw+LSKh2ouBYkey9hSzYpFrtXBjjITiiFx9bCfH/cv64IoBb2SoIbo+XPg6VDbTTYsJl2rmUMJF8I2qq258GcHBRg== X-Google-Smtp-Source: AGHT+IHUAUM41NBKc0JoUF9X+UZ430z+NwJQzdLHDgEEY/9gUDPeRjLaEGriHCDjrr7SppU/yQwN X-Received: by 2002:a05:6359:4c28:b0:17a:d4c0:d59f with SMTP id kj40-20020a0563594c2800b0017ad4c0d59fmr23162361rwc.4.1708579032636; Wed, 21 Feb 2024 21:17:12 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708579032; cv=pass; d=google.com; s=arc-20160816; b=UVUHpNE0zMipVCimcfRqe8AeAgOaptnEJEX+b2u+LgdjXftmF/mA7pAOhw/Z52xiGO UGVsF4d3KbBX092veCjbVTNiMDNH2wfLhatgHkQCtJRFxc1Kd2YtfcMzamUiFLfuJKYB e2QbBDS4Ff0nq7OONkTJyDWW4Q43o41b4em9GBZkhyiDknBtteo6cyW7YLpuhcjU35jB nzJ/bWHkVbqGeRiq9mFKkzHhIPdv4VgoU9n1SMoOKhG+lxggUgqVsQgvPnosFUUKQ+ds 44XUUaT6Pc86f1cpJw8lh85RJGLiv3xl7mLOPhHh0HG4kh+TSIFzy4iZukC7iPiOXiGO O4bw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=rD5K6UG4S2jRQ0lZUUyLSIDv5TVlF6XY/eKOdyWGS4E=; fh=RyWH6/BxNDi6kl/UZxFJ4Dj5QeDZMU9v/Ss/0KHu+B4=; b=u91J5Wxfj5Y/eAFV2PQuSv3T9C5kH7Z6K3oXYJ+SqVxE5HaC81NXhfkc8OEVPImn5E tfpQmo4Eqy5S7ndw+2CH07sjHH9ddtGDfzPPxQA0SOU828MXuXI2OadMA1DIIPQi+7sz 0WCORuyrUb7JwQUljZNbwznlBP/OsrNVoJkNDbhI+R7HoQtdXnUpZq/zL2zHGmQsKL8S KtBXgpBTMGY501Nyd+SnIiW9xuJPrnskGoHvlms3mMWUyOVpBzOhGkfcswS9yh/iBj3W gYGoX5QsSDcmWMEOhQnvPcHrynGMvDSiYnhhlHU3FKXS5ElQ+YhwbIV1f7XV4/exfa/W TyDw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=aqtFJlbv; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-75929-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-75929-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id n18-20020a170902d2d200b001db5ee2a794si9712017plc.562.2024.02.21.21.17.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Feb 2024 21:17:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-75929-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=aqtFJlbv; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-75929-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-75929-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 0A604B2402D for ; Thu, 22 Feb 2024 05:16:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7F1D279F0; Thu, 22 Feb 2024 05:16:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="aqtFJlbv" Received: from mail-oa1-f46.google.com (mail-oa1-f46.google.com [209.85.160.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 204987464 for ; Thu, 22 Feb 2024 05:16:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.46 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708578988; cv=none; b=S1ckEmu0nkERrPAR/j2meiewgVNaCSDEbH01IJ3B9GpG1DGqji780tCcM7pRak2A9vcTAgyxy+noM1rZszTGLKO6KJlvM8X0nHvqLrsEKKvuEmmsjtjr2i1W6zUIq+6WlBPzsYi7h3aFaof0qgtJ4VOYMHH7Yf5kI95P2XYFVMo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708578988; c=relaxed/simple; bh=tvXfqp8UvH2AW0EzEnXM+vkivsBB7XzVfVHdppIWjNs=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=fjCDNZjstiqwh68vV30ILX0Q9h5G+K9pEuiDAUgWmNaug7Um95k76uPMn6TmRRSSs6Bai7/gaFuwVdLp9kuOkJ+V8ATrq8sXPNqvVsciAEzbkK9pkqQv15LX9kbXpxysrYeGvhMxii5SodhSOM2zcPobK2a9Nzt4ruG8sADYrLo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b=aqtFJlbv; arc=none smtp.client-ip=209.85.160.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Received: by mail-oa1-f46.google.com with SMTP id 586e51a60fabf-21e2673a206so4738724fac.2 for ; Wed, 21 Feb 2024 21:16:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1708578986; x=1709183786; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=rD5K6UG4S2jRQ0lZUUyLSIDv5TVlF6XY/eKOdyWGS4E=; b=aqtFJlbvgE82dB5kfF4wVQ5F/hKzJ74+CyuJ3t2r/tLpaSSQpejChz3n8pNmP+AH21 vOPUTJuCnWMeuUVp5z27FWSfK2b3+UDsaT5Yebb7+2JEXMB8Bqlw12qFp/IVUunyjBns 3RAB/Cd3RGNRIakm4Ij0Z/oj/WFt/00Knamrg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708578986; x=1709183786; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=rD5K6UG4S2jRQ0lZUUyLSIDv5TVlF6XY/eKOdyWGS4E=; b=pBVPwaL3KcIGfpMVherFCeaWwwb/gTDkf92A4lNbvAYWon+xBfRgFQIAdgnvWcqwHv NvpE3scsBBTOGzq8AwMHk2r9ApPh/7G781mY+D3cKAVvaakviu8n/yxTLZGl/FSwDo6p ZPzIruWY41QlBJXMDXlsvcYKdr5XOavEKBsuH27mRbY2VjGzIjeW3JmZULcU9ESt/8NP V/JtAZ1sd6Z83XMUA8X43LcsSHMZsitxD8seeIE3rHTqsxAvnfI21qRzDQCMZU0S0vhJ ZdM8U16NKUffaBU1uaFrEu1VRCItGMh/Nt2pm6n6Ue9GbBYNqBSW2VvUeftvZLv6fAMn WxMA== X-Forwarded-Encrypted: i=1; AJvYcCUQvUB9Pq/mnRjx7W5LqZs7LGGOxZsYtsSvngYHl3fvgxVjBIHNTjKS0aC+PgTPqk0/6A4AhMtASuSqNqw458/x0cNwED+kxYxBAVlb X-Gm-Message-State: AOJu0YxFArWVqe+zkeuXZNOK592DnI9BwDvj/Hvc9mbdveQPWm7Vx1rE v5SMQoeXoHdnnMp2pOz6LPCJ18MGCFSSyBd6aUQ9x5bcmziruyWRsJ+Lc6wTPg== X-Received: by 2002:a05:6870:5b9b:b0:21e:623d:1824 with SMTP id em27-20020a0568705b9b00b0021e623d1824mr19688847oab.8.1708578986068; Wed, 21 Feb 2024 21:16:26 -0800 (PST) Received: from google.com ([2401:fa00:8f:203:480:9ded:eece:6cb3]) by smtp.gmail.com with ESMTPSA id k6-20020a635a46000000b005db034d1514sm9383494pgm.82.2024.02.21.21.16.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Feb 2024 21:16:25 -0800 (PST) Date: Thu, 22 Feb 2024 14:16:21 +0900 From: Sergey Senozhatsky To: Masahiro Yamada Cc: Sergey Senozhatsky , linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCHv2] kconfig: add some Kconfig env variables to make help Message-ID: <20240222051621.GH11472@google.com> References: <20240222031801.GG11472@google.com> <20240222032559.496127-1-senozhatsky@chromium.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On (24/02/22 13:57), Masahiro Yamada wrote: > On Thu, Feb 22, 2024 at 12:26 PM Sergey Senozhatsky > wrote: > > > > Add a new section "Configuration environment variables" to > > `make help` output in order to make it easier for people to > > discover KCONFIG_WERROR, etc. > > > > Signed-off-by: Sergey Senozhatsky > > --- > > scripts/kconfig/Makefile | 4 ++++ > > 1 file changed, 4 insertions(+) > > > > diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile > > index ea1bf3b3dbde..0044d49e149c 100644 > > --- a/scripts/kconfig/Makefile > > +++ b/scripts/kconfig/Makefile > > @@ -158,6 +158,10 @@ help: > > if help=$$(grep -m1 '^# Help: ' $(f)); then \ > > printf ' %-25s - %s\n' '$(notdir $(f))' "$${help#*: }"; \ > > fi;) > > + @echo '' > > + @echo 'Configuration environment variables:' > > + @echo ' KCONFIG_WERROR - Turn some Kconfig warnings into error conditions' > > + @echo ' KCONFIG_WARN_UNKNOWN_SYMBOLS - Make Kconfig warn about all unrecognized config symbols' > > > > # =========================================================================== > > # object files used by all kconfig flavours > > -- > > 2.44.0.rc0.258.g7320e95886-goog > > > > > > Why only two, while Kconfig supports more env variables? Right. I wanted to add only those that we use (and familiar with) for starters. I'm not familiar with things like KCONFIG_PROBABILITY, for instance, and not sure how to document it (its Documentation/kbuild/kconfig.rst description is pretty lengthy).