Received: by 2002:a05:7208:13ce:b0:7f:395a:35b6 with SMTP id r14csp206402rbe; Wed, 28 Feb 2024 18:04:15 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWgVw+pXIiGy3WER3A454tKy3I3ClUvUZTblvWj12qURGvHjNL9VTg+ihkhkyrrjNumpik48HpBZGfkvmJ5fsdFJerOKgVhVySJONT84w== X-Google-Smtp-Source: AGHT+IFl39vL+aOuGmVIOLUoD3hUdBxdcGYkBjZOy9EnO4scs+WSKhrf3Qrv4y+tGKaTBq7KSo0s X-Received: by 2002:a50:8d86:0:b0:565:f90c:1263 with SMTP id r6-20020a508d86000000b00565f90c1263mr425719edh.9.1709172255261; Wed, 28 Feb 2024 18:04:15 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709172255; cv=pass; d=google.com; s=arc-20160816; b=GqStlaJ1lsuGkBaF8BZfKimErcqDSMgwyiK6vT/s9QBXovZMRfdd8iUwhVoK+a436f snEc/lTO0Q4LpXuxTmIZN3rTJ0/6PdHwFe1U48j6Ja+FUcH31gotC7TOVXvOUvklPkpu r5dnRdbux16Hfkp8lF+SWjPI9LLYs0Tn9oH1PxaNmvGAtUWTgCCzahb8M72SlkrMpcv+ NUxPeySabqeIr51TGLADUzMZ5/kKHoQmOSx3WJg+L08Zdtnt49apoUV0RPIt08BAx+xn 9xh9j9J2rXmHoKIpBFOoT6DnJxHzmxzFO6RM+vCRJXPzZ8frKr32fYZWpK+1n3hGFDBf yJww== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=0KB7z1mWQQl76tKumHEW0DL+TFyNlLyb81HQO3L4oHc=; fh=ni1SuahZoAOXvHPmVqQOQaojGHIqUvoXaJ2C+cE2h/A=; b=uPDr70XaiGZxPE5Q7Ads8bLEEGPrYvk1EdJ8xnpiufY8mXGs4cBJOifgJxDnKPSLig Eo/go+BTsIrPZhJCTQQ/SzcJPgBP3lBVWtZ6tA94uNFVKbbyiQQQGM1LpdqGPkIEFjWj eG4XRSB2e2GbZGpAe700rS7B+OKofC5u5szLcaywO+yJXcEZJ/JlGqlM7MBYv7YCfRcN zU+JoEFaiszqFMWWaDFlTDKenrPN+jG4Trql58lWCTSObzd19Bp5nH98w5Re6F+Ohl6c cqmXN1aNQVpJGO6JnO7mJaB13hx/W9b3HggdHALt1lt9dUDFrUZRbIlLbwxrawJ47mSt 4Jhw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ktYDXtfH; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-86026-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-86026-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id f24-20020a056402151800b005666dfac6ccsi127891edw.196.2024.02.28.18.04.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Feb 2024 18:04:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-86026-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ktYDXtfH; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-86026-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-86026-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.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 am.mirrors.kernel.org (Postfix) with ESMTPS id 084AA1F25D38 for ; Thu, 29 Feb 2024 02:04:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 83C6A364D2; Thu, 29 Feb 2024 02:04:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ktYDXtfH" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AB90936B1C; Thu, 29 Feb 2024 02:04:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709172244; cv=none; b=hzT/34zzzwLkU+3XcB2hQzyvuhbF+vLpuvL4Cjr9A/AYro135Q+DT3bTLzqAHQU7wFgTXObCIcqJyvq34Z8Oy8uEtr7lyA90eIW1Rgb6Tz4lBeiT5cUKARJR0uke7qN7d0YSpMofeMb4iemz/Vc58KIKFYln/GHBxYQBKwxdvv4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709172244; c=relaxed/simple; bh=Hqt27iztKg8bH7+WN1AsbcYSqLKusd3MveKfLQx9J/o=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=vEUnpl7QdnfJsdtLhJb0YMrThvjN28KjxIOTiT85IX58Lw7o3PwLXak15YLWqqga1KdMgrFTrARbtNJcEgjbIUQiu0II71xCiqbHIfqAkRi/JNaq6vgy1++ISBY4+ioumjCoqchTsbdz2bIlhXwuoAzS+CWX6t9hjhOHt9ZQCQQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ktYDXtfH; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4AD53C43390; Thu, 29 Feb 2024 02:04:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709172244; bh=Hqt27iztKg8bH7+WN1AsbcYSqLKusd3MveKfLQx9J/o=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=ktYDXtfHUoCSzF5aFXxG3n9/eUi7LgtqEtaC6IPV+4ExMWbrpyZtGDnsyq/QuuIpH oyaKDGTh694C+xGUSMj5yek8hNt3bkVrbOWMc6y1tK4AQUlQ9c6jsuo28/5nJLFLvv vgpf6XXot7ngz5g0Jy9OqZ9XNyiZ+rLF+H1ntrq0yPXbixyD01+zQszfLW3KQY00Zm D/oI3GcdVas6lZS0Z9e6gN3o1UBch18kjW1vrcXQfUJjNNtdJjJITT/o6HlSaaAGwp /nCUa+WFWtQIceg/ZHa/UC6uzRS91kc1R7RIcG2tAbMdGTJy0aRGKVAZ41M1MIF9Wr UakyA4j8TFNIA== Received: by mail-lf1-f41.google.com with SMTP id 2adb3069b0e04-51326436876so61854e87.1; Wed, 28 Feb 2024 18:04:04 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCVDxkzX/dlg3CNR/M3Uu3F6p4yLxnJ1lG9OQa/uJBLd70PT70Xl49QO1bs7DQu/ca7G4xsXmoJ6PiVVhkwerBSYerhdO66n5oPXD5jt X-Gm-Message-State: AOJu0YwOpxwp2BGLknRdhYHW13kqV+/+RN2VdB5+iLEe+20itqaRpGRY TfmbtAXSw+CDH7RHbXZdQhFuqbd/dnee5ADRQKbidGF74ucYGsT3RZlTyrgKsuQAPKDrSGsdDdt 3/JOlNIQN/WVlUzuDkm8iXrUn9B8= X-Received: by 2002:ac2:4a8a:0:b0:512:bb33:2eab with SMTP id l10-20020ac24a8a000000b00512bb332eabmr382640lfp.58.1709172242808; Wed, 28 Feb 2024 18:04:02 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240222031801.GG11472@google.com> <20240222032559.496127-1-senozhatsky@chromium.org> <20240222051621.GH11472@google.com> <20240228045652.GH11972@google.com> In-Reply-To: <20240228045652.GH11972@google.com> From: Masahiro Yamada Date: Thu, 29 Feb 2024 11:03:26 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCHv2] kconfig: add some Kconfig env variables to make help To: Sergey Senozhatsky Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Feb 28, 2024 at 1:56=E2=80=AFPM Sergey Senozhatsky wrote: > > 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=E2=80=AFPM 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=3D$$(grep -m1 '^# Help: ' $(f)); then \ > > > > printf ' %-25s - %s\n' '$(notdir $(f))' "$= ${help#*: }"; \ > > > > fi;) > > > > + @echo '' > > > > + @echo 'Configuration environment variables:' > > > > + @echo ' KCONFIG_WERROR - Turn some Kconfi= g warnings into error conditions' > > > > + @echo ' KCONFIG_WARN_UNKNOWN_SYMBOLS - Make Kconfig war= n about all unrecognized config symbols' > > > > > > > > # =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > > > > # 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/kco= nfig.rst > > description is pretty lengthy). > > Masahiro, any opinion? I do not need this patch. --=20 Best Regards Masahiro Yamada