Received: by 2002:a05:7208:13ce:b0:7f:395a:35b6 with SMTP id r14csp240363rbe; Wed, 28 Feb 2024 19:47:52 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXkas9PnAxv9vbcOo75THHVUe65GlFtyu54301QWhZmLFukLXdJoIUwTdXqr+JCLKXe+oH6Lbar8j8uSsSiyJAX2G7Pf3+UJrBq/v2f3w== X-Google-Smtp-Source: AGHT+IEPwLk2pShkfWV4AaVrfUx4m/eO+MVqUdGcBTQUZKB+QjuCyQBNOHmw7VDbljJeuUcSsf8A X-Received: by 2002:ac8:5f47:0:b0:42e:b2e9:36eb with SMTP id y7-20020ac85f47000000b0042eb2e936ebmr1147939qta.28.1709178472440; Wed, 28 Feb 2024 19:47:52 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709178472; cv=pass; d=google.com; s=arc-20160816; b=ijh+JIzgF20GsMsDMCSdoUJexQvA4hbd5XHRmwso4D7XI3VmTqRNbp2mmKPIUisYj1 mFCUd/0utyN7V1zJJbTuR6NW7T1rkSMNZrvZ3W9WEs8eKJI48Vgnb8fnEGzslJ3SKNfn DMRQn7Sq/vCp+Yv4da5yn4K04rRRP7Bj5b/6f1o9Ec2WnjYLpdNcnAEK4jc9+6IzBCZQ IYnNrLJ2tER2Qzi4U2DNaF+d3Ix5brWjHB8Wyr92JM0A8E6m4X1ku8sXuUcdValKMH/6 VHILMMGYrXgIkx/MPDSmb4eqG9F41zQ3pLHp+eRk+PsL2zgURhGGzCBrCdjLkIINxUUD PGCg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=7r1KhyQxvJ518JFfEHwtdSkxnn70HF9z0iJ/tgTjB7w=; fh=M+mealjTvdTa9l0Dx7q97AV3HochsEBQSqaext1RLlY=; b=itVx+PU+6C+ReA8Ow4+Sbp6zcIpk7P6ebfTo+matw8uRUo/pa6y7gYl1gc4Cj/59uO 05P5zhM8HK0qvSsW8bMFbqkyzG+cevzKTHl/Hg2o7nKlIcBHvQOqdyQ8RcWWE8PUS7C2 PKj8tK5REF45KwhmPMslie7IRVtDVpFsRNZPg54/T5rPpf9qO22WZWzUlBubNmFTbCUb WwQh++cdmTI2lhHht9MKZZVbdwAPmBDMCyNn9UK4nP5um2R9ARCOZ9iqOnJwHPekQBD6 TGl+C3sLbb2ajKNvB9oWhG83gslWc27BxWEDEXOPtXv5XC1KOhWNed4oECicQA1PPRUy hxrw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=a3bnpHmm; 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-86099-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-86099-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id gg2-20020a056214252200b0068f5be39eb5si546361qvb.247.2024.02.28.19.47.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Feb 2024 19:47:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-86099-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=a3bnpHmm; 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-86099-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-86099-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id D98F11C223F3 for ; Thu, 29 Feb 2024 03:47:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2AE59376E0; Thu, 29 Feb 2024 03:47:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="a3bnpHmm" Received: from mail-oo1-f42.google.com (mail-oo1-f42.google.com [209.85.161.42]) (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 B71C12EAE5 for ; Thu, 29 Feb 2024 03:47:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.161.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709178465; cv=none; b=VckcY4tv6Etz35jvOpUzJvjeHT4sKR9fEBjsE8YPDb56dzp5wqfxdMeX01jPLSPR9A/gNodtjZb4WMKwg9SdP01A9BOFibSBXU0VAdtyFaJqCpMpT5y7xW3QNL6m3YLUyzkPsmzipv3Fxr8p4An1tnDsn7179uikLAwRZ+LVMWA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709178465; c=relaxed/simple; bh=GeGiTVG63Aoz4SuA2gUxS4O52MOgjsfemlEYups5F9Q=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=IJ3SfQk0NwdQmQwf4Zw25F04nV7soEXknIeZecEs9KbAf61JwzbiP/pp2zS3Cj4T+0b29+uZ/5efV2OZIQe7qcOqh5NEtV1StF0dBtuHO0hvksNbDIttxBJN9hKq9m5qWDJUaFt8yVyTm1rrJ6hrdIpDo8zYUTxQQRauRDdG6ks= 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=a3bnpHmm; arc=none smtp.client-ip=209.85.161.42 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-oo1-f42.google.com with SMTP id 006d021491bc7-595aa5b1fe0so306784eaf.2 for ; Wed, 28 Feb 2024 19:47:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1709178463; x=1709783263; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=7r1KhyQxvJ518JFfEHwtdSkxnn70HF9z0iJ/tgTjB7w=; b=a3bnpHmmnnEf75E200YYqq4nvV14Dt18zpOee8Bp7Q4+BpRAx28jpJdTQM3n4MF36e AYsCeQfQedV1utrmMjAB/eqeps5xW6lVGNYcuvobu397Y1bR7kI80x8nPMIIP9RHgJAi lprRktWJmAwoZ8uJMYyl2hjKCWRCyB6OtjYJk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709178463; x=1709783263; h=in-reply-to: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=7r1KhyQxvJ518JFfEHwtdSkxnn70HF9z0iJ/tgTjB7w=; b=l6IkFN6fz/gga2REsgypJX6WMQIyEs18GMzOwv9MvD2E5MtbwBfxjgO0g0UQyE+HPo wkKDpj7pQcY5tftZ+SNx4uAz6mCNNVXJ3ESixPLldzzLJ2E+tADvjctoGceMnpt0iymv 7Re8ry4llQ81NZ7TWhIYRQuVBlhowqeI93eRMBlYFNYWBEpGmZhBfEMMH7oNT5zudKPJ 6v8Gdzp/cpv6ulq0Wpr21WV9/HYpWDWN6R1whW4wB6GhZ3x6nbl4WHN9xmExlDVEUWbQ MnHuKNKI7DzgVh54i9NfBd2xuUqOWY9ANeBvnOWEIX1P3t2AetxEcuNcyHyY0Tclbsqz qutQ== X-Forwarded-Encrypted: i=1; AJvYcCVl06u55cfWQjWsU7CMx7j2WlkzsJKJOiXzGE4jN0Y4f5KJuk6ALWSHRaDMVGebiacYR+j8aEAY6CoWCFF5I4rRL5PCLdA1veaqgncW X-Gm-Message-State: AOJu0YxMmpw5rjf9/XdcN3WF8Oil+m35DEPXGuqIsBoV9kLiouINUJGT u5uQwvZ6cDfiMZDwlJXsDuL08dbqMhSNxe3Oe0845FNsCsQhXFYyf4urQeTe3Q== X-Received: by 2002:a05:6358:6588:b0:17b:c9cc:f60b with SMTP id x8-20020a056358658800b0017bc9ccf60bmr1865490rwh.28.1709178462803; Wed, 28 Feb 2024 19:47:42 -0800 (PST) Received: from google.com ([2401:fa00:8f:203:50c1:1ad2:3268:cacd]) by smtp.gmail.com with ESMTPSA id m1-20020a635801000000b005dc120fa3b2sm200148pgb.18.2024.02.28.19.47.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Feb 2024 19:47:42 -0800 (PST) Date: Thu, 29 Feb 2024 12:47:39 +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: <20240229034739.GN11972@google.com> References: <20240222031801.GG11472@google.com> <20240222032559.496127-1-senozhatsky@chromium.org> <20240222051621.GH11472@google.com> <20240228045652.GH11972@google.com> <20240229021010.GM11972@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=us-ascii Content-Disposition: inline In-Reply-To: On (24/02/29 12:36), Masahiro Yamada wrote: > > On (24/02/29 11:03), Masahiro Yamada wrote: > > > > > > > +++ b/scripts/kconfig/Makefile [..] > > > > > > > + @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? > > > > > > > > > I do not need this patch. > > > > Do you agree that putting kconfig env knobs into help makes sense > > in general? Especially those add valuable sanity checks. > > I cannot accept the attitude: This is entirely wrong interpretation. > "I am interested only in these. I do not care about the rest, It's "I *do NOT know* what the rest do". I cannot document something that I have no knowledge of, can I? So as a reasonable start I added only those that I'm familiar with (and I have explicitly stated that in previous emails), and I disagree with the "bad attitude" label. > This should be all or nothing. > > I do not think all the env variables can be summarized > to fit in help. So the rational for that was that people run "make help" and find out about new build targets, for instance, but there is no way for people to find out about new Kconfig features (and yes, we are talking "new features" here) that are controlled by env variables. We need to do something about it, don't you agree?