Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp2343218rbb; Tue, 27 Feb 2024 20:57:04 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWCZczefuTxYSVY9Aw8T4PksaDVFRzHITICi8c0mvM4VdZg9IIq+uiBNvNhcoYx4NJWblsEH6YB8w/sYYpMekm5p3nb7OoifyimRlljgA== X-Google-Smtp-Source: AGHT+IGUi55KB2mvAseS0NGHBlHbwFLB9bVQA1d8YmV1sFbQG5erPC8v3wRh6E/WVjvTphqoXpQL X-Received: by 2002:a9d:774c:0:b0:6e4:815d:d332 with SMTP id t12-20020a9d774c000000b006e4815dd332mr12490557otl.2.1709096224062; Tue, 27 Feb 2024 20:57:04 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709096224; cv=pass; d=google.com; s=arc-20160816; b=rowmIhcmupfqg0iAdqxmrQo1rUHTqcGoLwWk4IimyOy1/yuxIUc3TZpF2jWnpjP3yB NNskHXQa30XdLBzFQQqNrs57tehP4cAYb/tt0/fEYrokhkFt5M8vg32QtyLdmIAcbaqL cRJ+Qx7QBuYrOT9+K4jnke88FZcgFQsgS9gZXF4Jy0jRhJ0AxegCCv4ZVI2zUVqF81Ie am8S+p7K/UQ8Ry0bZ7LLeBwjnBrd5k1NlxbajYVF8L0v/JB2bm7yt1VZpQv9ghjWJefk xzvoy7h631rbi0acKTzb17tPM2ValbFLxU5yurY5Hkh/FdjffSMmjiJGbIoMw5EKTjfL QyWQ== 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=4AtewQ0DvpvS+xLs0fKphMHf+bEJv8V+4bZQhjiNKnc=; fh=xQNhzD4Vo59JTvZWHTyDh2eMZouWfRjDxS5gD4Ijts8=; b=j4hgIhLf/LuZN81n7ni+0pp6fHuIjnTNzBzhK8sDQP8Ik2d79Ht4XBZmRJ6t7s3vni bh1w7aq0fVltt2d+E00HYR52PJvuL6Wreax1yYOHUzQlyiJLQkGVNKleMCBKP7rs+2XM 46lrjzQ2zgpdxn/R2WvzIjcUQK7w/25WyBPgjrWHTI5qs5ryCmJWeb6xh5e7DbyvHKe3 /lNukvgloNmEtKjRa18g/NJdJ4GfR753VZ9dKhjhU591v9qRG5hPmNd5GZ71SvjAb7Vm KC3ESSyOS24kZ6Xo2Rry2bsBJsqMAUdwGvJHJgQffawcIhzt6QkXzI79vZdG0HzWzpcq 2ZfA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=jALCk1fa; 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-84518-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-84518-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id h9-20020a631209000000b005cfbe985481si6659037pgl.46.2024.02.27.20.57.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 20:57:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-84518-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=jALCk1fa; 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-84518-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-84518-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id B2F772845BC for ; Wed, 28 Feb 2024 04:57:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1AB1720B24; Wed, 28 Feb 2024 04:56:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="jALCk1fa" Received: from mail-pg1-f169.google.com (mail-pg1-f169.google.com [209.85.215.169]) (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 C9101219E4 for ; Wed, 28 Feb 2024 04:56:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.169 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709096218; cv=none; b=m9GdoIBOp3RS+iU1WawFo0/4qBY6899QUhV7ij7zBlqs990KCxO0FHSvBcnbGeLW5laAgi1TX0paXcELGIdGLYRo7dBBTdGOxD+rWhD2souFN40Kicyi9EhU9F50ppWaiqXG7Pi5xUGZzliql7wWUfH3fKz7QhpFAsUIG3yl/aE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709096218; c=relaxed/simple; bh=Q9q3Ts4D/IDB5UkI6ebI4e+dxkWpOba/wjNuxBVAReY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=s1fbBpHpJT1FhQKmmJAv6B5DxbNQ/p9MYesDq5lYxCI/xiJFk5RHCUAEaMi2D7aC3p8uQFA+tV16aZ7fceQj+Fu/gnESzWjSt6E36GovIi0C0oIjX2zJsleMpK0PU+kVMDOge4pxUGlfHhTEjuMiwJbwjodt4kzrnYjCQd95IL8= 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=jALCk1fa; arc=none smtp.client-ip=209.85.215.169 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-pg1-f169.google.com with SMTP id 41be03b00d2f7-5dca1efad59so4705636a12.2 for ; Tue, 27 Feb 2024 20:56:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1709096216; x=1709701016; 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=4AtewQ0DvpvS+xLs0fKphMHf+bEJv8V+4bZQhjiNKnc=; b=jALCk1faNGx8DbpX2jugPmX5rwjO35xXBckMl8vaNkoKXj3EHj57FBJgUanHKHkrwD 0jXVSmBh3NNAr1Bg0c71gVWB7u6NOOmFKXJqld9xsw2Iu7sPFWXvL6J2aGcST06Ztx0P qOZ8v4bXqo5dXic2ARZZPpenKSW4wufYv9EYk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709096216; x=1709701016; 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=4AtewQ0DvpvS+xLs0fKphMHf+bEJv8V+4bZQhjiNKnc=; b=RM7qNFVCy8OaB/8nePlzY70yFfkpy79nLgM1TqiPcK4pwmEGcjm/Sz//OYYwRehrBs zpU0GynNn8RseyRxHzpkjWuw+fTTa7ek/5rRV9ufuoyZD9XIQa1nzvUhtG00olSgIGZO Il9REVWgCVsNcXt7fBE2k/9VL2FD7vjcwG5a3+4VKIjhleaoLKGueMIBPRfY0kRhcKTD JbkaQlJFH7FwZxo4/fTlRRVOn36C6t355KHTPaCub/N2tOyiizCx6jZQ6ni/apHbl9Rp 8b1d2WRLgNwTJqbDRfruisdd92ofbjCxSCIEiAtE9pP8NpPc3vO12EN2mkZ8FvagFBI1 VfoA== X-Forwarded-Encrypted: i=1; AJvYcCUIMbCn/9rOVaipFkXqZrVFX5OgfTfYuJpXAsPU34m79BHLhcI/1O1ARblkR4a9NCE6D+U67BxVoFkFy2xqcUq5U9ETomJlvbHh6F/h X-Gm-Message-State: AOJu0Yxlt4IgVHqGalDuDjd8lkIiDXr0uaNHOkDC2KjAZRDJnBtwKPGr j8JOKE7KpYce9/jt4tSB5WykXaCjdjDA3mOyKl2N2YBcjw+jGCnm2e4Lmfr1eA== X-Received: by 2002:a05:6a21:1394:b0:1a1:1e8a:4013 with SMTP id oa20-20020a056a21139400b001a11e8a4013mr64387pzb.40.1709096216158; Tue, 27 Feb 2024 20:56:56 -0800 (PST) Received: from google.com ([2401:fa00:8f:203:50c1:1ad2:3268:cacd]) by smtp.gmail.com with ESMTPSA id ha11-20020a17090af3cb00b00299332505d7sm483390pjb.26.2024.02.27.20.56.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 20:56:55 -0800 (PST) Date: Wed, 28 Feb 2024 13:56:52 +0900 From: Sergey Senozhatsky To: Masahiro Yamada Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, Sergey Senozhatsky Subject: Re: [PATCHv2] kconfig: add some Kconfig env variables to make help Message-ID: <20240228045652.GH11972@google.com> References: <20240222031801.GG11472@google.com> <20240222032559.496127-1-senozhatsky@chromium.org> <20240222051621.GH11472@google.com> 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: <20240222051621.GH11472@google.com> On (24/02/22 14:16), Sergey Senozhatsky wrote: > 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). Masahiro, any opinion?