Received: by 2002:a05:7208:13ce:b0:7f:395a:35b6 with SMTP id r14csp208761rbe; Wed, 28 Feb 2024 18:10:26 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWgyP2UFK+Edh5OLImsTcD3CfjHoyc1seScf6XzC9C64nsNXEFpg7CcEHRzMA8Oy7Djjq9EjFrZY2YQx3ShB3m9hi3kOUMTzYxzUFlPUQ== X-Google-Smtp-Source: AGHT+IERot72gO1fZVuh3GKTTqWLQM9Yin1PBJKP22kaFcfDMqPaKpVqe/OIE5kmnDMt95JETqfA X-Received: by 2002:a05:620a:2956:b0:787:de69:9475 with SMTP id n22-20020a05620a295600b00787de699475mr1152669qkp.61.1709172626383; Wed, 28 Feb 2024 18:10:26 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709172626; cv=pass; d=google.com; s=arc-20160816; b=eJ7qKPAz2zlfsnRwP27oVxsDTk3EkIjkZenUEnj9BSwxYcITcHmOwwNuLoMjWt7Rhw vmiXocKjTad01ho0HbCqp10L0hBwsXju92wxTqWPKJckBPIFVilgitTK/8lzh444s/NT zKZcreRhownmdlOtU56mOlt4tZu/WZ16dMrLr7K2hH9ooTftERQZkfTuifmEUEB30yyO 8qLXpZrBISz4Hz47wHyChwSs1QFTFpF8IBz07AgOcAJvThQht82tnHnJoBkZe6yG9YAD LJB2FYIuHydHMpvKmLHhjjkct85m1xj8zLSGPFiajJcSLbMSpxhXFosfVLIl0f3cpEMP IFYg== 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=iUf9WkXQBXM7b/VI6HGYsA1IhCASFRsvc9ci4ULhUfk=; fh=TmdkaxeaFTH4MGHBqw9ejZVrMBTk52mWqYe0fK2lB6Y=; b=QHkhnYd4mTjvwMt9G+kir+CrPAtNieQgqzAbYmptkRrxvk+uU+16zMf48Rqzduficn 7kNMpKAwAbglcbiMTZqA3CuMDNPFLAxn+DWOd83WCPaxT6LNWCbmSyYhOXkiexI262MP RMcOXD0691s5D+z8D29GWbia9J9JQzajowQTaMaNfETgbHFXyoTwz7KVaCo7GUA56Cm9 JHWE5fTuNz5yyBnqfC6CdE2uRDzg4FzMB8BnJPTaUD93IPYjUFAjgUOpRVfMSmaiXQUI mFKbsR9uQRAIN37PC6Whcsu0uSfElEb8iH1Vp36cI3pBDR9FEB5CUa8dG2MdCMIdGmU7 aaeg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=VQk8oU0R; 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-86030-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-86030-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 ou4-20020a05620a620400b00787c111fddasi485429qkn.486.2024.02.28.18.10.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Feb 2024 18:10:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-86030-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=VQk8oU0R; 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-86030-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-86030-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 551681C236B4 for ; Thu, 29 Feb 2024 02:10:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B1EB636AEC; Thu, 29 Feb 2024 02:10:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="VQk8oU0R" Received: from mail-pf1-f172.google.com (mail-pf1-f172.google.com [209.85.210.172]) (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 7F27D3612A for ; Thu, 29 Feb 2024 02:10:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709172616; cv=none; b=nf+X1nAP2e8BoAmG8x6QQ04HR9ERqhYTflNcJJgTTT5tvFxSoS+E+rWq2+jIVnhrGNkfIqK6qZgePmf4o3414WK0GeiaCAAMfPqyl7C2wTrhGOzYoVnD1BkCaSuWDEIpqx/4WUTkoGDL+XBJaCtKfWy/zPyyM81cCK9I0lsT6w4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709172616; c=relaxed/simple; bh=lYm5sE8YtwjbzQspufWqcSCIqUUkVnEVFVICmUMwiEw=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=gQudpi2sjax0NM7OA4OLNxO/zmrkzVlWZlhifdEqtUywKxfiJunlKmgp0bvKrY8Kf4uhLMHgOe1sHrigU5vWnd0JFoO0s4LfPxx8fSO9KT8cLgHAuGwxnVh+VGvm7BXgBIeGI1JNTCskZnLOH7hJMDp2hYu2qwT3ejzwXmFwI4I= 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=VQk8oU0R; arc=none smtp.client-ip=209.85.210.172 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-pf1-f172.google.com with SMTP id d2e1a72fcca58-6e5796d01c8so274217b3a.0 for ; Wed, 28 Feb 2024 18:10:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1709172615; x=1709777415; 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=iUf9WkXQBXM7b/VI6HGYsA1IhCASFRsvc9ci4ULhUfk=; b=VQk8oU0RI1vSyYS86APmvKgiLvvaCZmDZSN7axCYjOMIeCi2SoML4X6C+Wo7Kab0Pw 1qNY5Q+lsgbfMX9Tp41M0RrlHXDTm4udVDVC2xpoBbWzHNTOgmXpvsKwdC1Ai1xlU2i+ /tmhS//+fUNG/uoeeulag1LH0tLWnBm8DV6Og= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709172615; x=1709777415; 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=iUf9WkXQBXM7b/VI6HGYsA1IhCASFRsvc9ci4ULhUfk=; b=H4wjbygjh9dYNQEzOWRqUU0n6vFQajv6+GFqvopEFqus5UcYnvUgeweK2bxazk5GKz wpBuUSBwtbu5XLdt69QI+X3ac88cqg90XGEN7CTTvLaekCE3ZvVL9WfCyCcz/aRqKiuJ FWt23b1pTAC78XRnLkci1Btm4lVLhjziVbzoLbAJD2LLfXKF/iX8E4A6eG9OtFOPDwVI ii+dy5wfWMQFUG5xl5rlYpikn9BxCXPSuDJy6ErQYM7tWiV12nrjMFdDdu/GKnYKNuam EQ19FUUWzvt3tjh/fu5OO98Ccj61Zef+q8wYeL4kq8pCuzaOTov+J0O6fWnqtYRek3NV hPhQ== X-Forwarded-Encrypted: i=1; AJvYcCWpLgHoDR6AU6Hxf5gAKOMJX3uUv0Ftj0Xva+XObzoBHs5joNrIYWk6Yym+8u7TwpPZjD79XE+GicLbipQ+WZLiNz6BCMgliZ+FxKNf X-Gm-Message-State: AOJu0Yw8gT+sVvxXzJwPnJZ0OWAliiMr9dJZi/gX50PdCzjEwy3YlcIw 59/Mray9kFw7u7Mrv/ZlP6q3QF8uOQBtmqlxZxv2TutzqmvosusfCNgtLRb+SA== X-Received: by 2002:a05:6a00:938a:b0:6e5:5bb4:7098 with SMTP id ka10-20020a056a00938a00b006e55bb47098mr1205300pfb.7.1709172614804; Wed, 28 Feb 2024 18:10:14 -0800 (PST) Received: from google.com ([2401:fa00:8f:203:50c1:1ad2:3268:cacd]) by smtp.gmail.com with ESMTPSA id v5-20020aa78505000000b006e4f311f61bsm118197pfn.103.2024.02.28.18.10.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Feb 2024 18:10:14 -0800 (PST) Date: Thu, 29 Feb 2024 11:10:10 +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: <20240229021010.GM11972@google.com> References: <20240222031801.GG11472@google.com> <20240222032559.496127-1-senozhatsky@chromium.org> <20240222051621.GH11472@google.com> <20240228045652.GH11972@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 11:03), Masahiro Yamada wrote: > > > > > +++ 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? > > > 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.