Message ID | 20240222031226.493692-1-senozhatsky@chromium.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-75838-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:aa16:b0:108:e6aa:91d0 with SMTP id by22csp3388dyb; Wed, 21 Feb 2024 19:12:47 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUUHO3P5Zarvzn+uhCBfqoIYjanp1benMhw4JB/5chXXhccVHugTldctGJS7c/rks3/G4mfmwtSsnU1TRv8QiPesZ+FwQ== X-Google-Smtp-Source: AGHT+IGznyY+qfSp0uAXKvGsdRb2u3qnZAIIT+j/Je/HNUFVjNihAg10sURf47Z9AOdqtchQhPWE X-Received: by 2002:a37:c444:0:b0:785:a94c:7f1d with SMTP id h4-20020a37c444000000b00785a94c7f1dmr21690767qkm.9.1708571567118; Wed, 21 Feb 2024 19:12:47 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708571567; cv=pass; d=google.com; s=arc-20160816; b=lfuyiWVolBAIzd8a4IptylCajZpQ9VeiKbg/HMLAT252YGuFI0fw+aJqaFzGrUoHL9 xkCCvQg+24193AMbpXFPaRnM9xVewYpmlxifGODw455gbVeaWFUn25Skt55yK1VgH4cI CZ17BAp/EhQIJ8IEfCO1CTdot9M+TdhMB37s7x2Y7JmutEnJyK0r/iljuWholawmGM// Vd4qAo/hoHpnu3MbWPGAnFBtx48r6UXB6aI7cGvnVLfw0HhIP0GpE4rtYB6XAmqpMFon Qah2MEZgdTw2wqHVoN2OfeJOIw3lr4OFGa5FtBz3Fy+uS1a1RfvlgdQfgaH/LDS8s+mi JWWQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=QXAtKGBTQphe1VTUrO0UL5mNNpHbTJAM2XNak4iATx8=; fh=JRsN3zFxVFQ5BXCpgTuvhPQy2COhhVc+hOZJ1oBpz6c=; b=Xnkrz7XZ8INNGtDi6wWgGJwytv4ljc91IB/g33+XrePCHQGbJW13l0KEhqr+XFWdha 7g0Z7xb2hsj3XIgWPHWeDbIBOdOWryTsXAXtjMxs3KW2IQlhU0bHeR0goD+qeEJIjSIF f2Pg15aaCGXO4bc8IVqPr9kU9LPAwbJWU95+JfwUCLg+XcV3g5FjSocfXT4EamsDzHJw /9i4OmzCS2BojKGx2wDcY4T/iqUwLkvvSrSqJmuR/FHG73/QcFmg+LSuvANrONzQernU /l+9Yqe8CUywvY2mVvBOuZoQDtj06hqmWFv52zxDpu84NWxcvA1vsERqusGWZ5wofH1L bD4g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=UuXHtPOh; 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-75838-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-75838-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id t9-20020a05620a034900b007839e747700si11977411qkm.192.2024.02.21.19.12.47 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Feb 2024 19:12:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-75838-ouuuleilei=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=UuXHtPOh; 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-75838-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-75838-ouuuleilei=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 E2EB81C2100A for <ouuuleilei@gmail.com>; Thu, 22 Feb 2024 03:12:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9BAAF17573; Thu, 22 Feb 2024 03:12:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="UuXHtPOh" Received: from mail-pl1-f170.google.com (mail-pl1-f170.google.com [209.85.214.170]) (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 9834528EF for <linux-kernel@vger.kernel.org>; Thu, 22 Feb 2024 03:12:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.170 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708571554; cv=none; b=TK8ePBMrTHsT8ogNoSN1V2w1Bt38EwLwr4KayQAGlSfPAnk+y1nHrF5H+4u/Aw8z1K0UB1QVgLW54T8IqBJQLM0qVR7ypt3eHrGoQBMQp3TH3feOZ24tRXKyVhYBHg3uRQZN0L+VXWdeCN7Q8hYNt1MQ62p6KEiSFTd/lLAbFWU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708571554; c=relaxed/simple; bh=t76bTeaY1oO0hKMH63CgusnsVSDq295EZx6khFeKZZs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=u6DUT317etZVAhfoU2u1NEOL2mFyFaLZlNyunV4u9ab/0KuzCTL+VrpKcTelyRYZw6RDpsZlO5HAFjP8EsnUP275HiaPcFBhNqqzmYeHbluVFU83OES4y8vC5GI6YU7xVenUrQZIX5Q+P6f81hNFvSczWEuGZkoaPzTG24NRW3A= 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=UuXHtPOh; arc=none smtp.client-ip=209.85.214.170 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-pl1-f170.google.com with SMTP id d9443c01a7336-1d7431e702dso73061175ad.1 for <linux-kernel@vger.kernel.org>; Wed, 21 Feb 2024 19:12:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1708571552; x=1709176352; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=QXAtKGBTQphe1VTUrO0UL5mNNpHbTJAM2XNak4iATx8=; b=UuXHtPOh0BSgimPRIDsWSy2sEQyjESzOs472eclYKRULmarc3uOHh7gRVMA2KXM/6n qp5hx2sW/RPbEcxG0T9i+ZcftHAfcbdJrV5Pbm+tY+BKxVxW3o49tP1MOpZb8MJWGcHp qTEU7FIgXy6gRbg66iFyHQ5rZRcB9+u+dH1gI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708571552; x=1709176352; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=QXAtKGBTQphe1VTUrO0UL5mNNpHbTJAM2XNak4iATx8=; b=VaoCwPnIk6ch6Hm3iwExc/IpGFoMPvfnkqGBn6yLnrMckJ7LTm6aDrfqRaftaRv0Qd cE9tAgO98W8lOkWb57NT5pahRPap6aPgtOCbLU5Hl0qow6ZQgR4xT76ceJynmJHH4hDx jnxU35yQU2IhHMMK4zrUDIhCEO/AJLPPAK1n/iGgWB3E9EkVm2XhnEe8UhMf3rIivQ1c tUWZab3ImC6lPtivZ8JCEwTsv8bnyKHDXj6AguChU+1UTNwsIux7BNlZSvYPb+toquoa H63AvdP2ND30plDwtPsx/gvBu2DPYuFlJQC3HxHCNmGFeRCM/yJYmONULCvJn2BFLmt2 HM3w== X-Forwarded-Encrypted: i=1; AJvYcCW7Tmyx7iHP2msVlFMnSNqsWbQDJ37mh1DodKnBlIejaYz1LAmhAsL5Zj/tLCstO1avfiLRaxCLPXyjVjphgrsoukWbDerv2KIhbncd X-Gm-Message-State: AOJu0YwxPYjA6oxslHoFB7qkkIHZOmvihnMnkC9NMGcEJF+r9pRice7+ YTDqFZ2Agxhp2wSlXNZIbVF/vt/BwykrxH71XG+t2oNfDdbQFzIL1LO//RCeTQ== X-Received: by 2002:a17:902:da87:b0:1d9:ce46:6ebd with SMTP id j7-20020a170902da8700b001d9ce466ebdmr22324866plx.16.1708571551721; Wed, 21 Feb 2024 19:12:31 -0800 (PST) Received: from tigerii.tok.corp.google.com ([2401:fa00:8f:203:480:9ded:eece:6cb3]) by smtp.gmail.com with ESMTPSA id h18-20020a170902f2d200b001db579a146csm8846084plc.241.2024.02.21.19.12.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Feb 2024 19:12:31 -0800 (PST) From: Sergey Senozhatsky <senozhatsky@chromium.org> To: Masahiro Yamada <masahiroy@kernel.org> Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, Sergey Senozhatsky <senozhatsky@chromium.org> Subject: [PATCH] kconfig: add some Kconfig env variables to make help Date: Thu, 22 Feb 2024 12:12:13 +0900 Message-ID: <20240222031226.493692-1-senozhatsky@chromium.org> X-Mailer: git-send-email 2.44.0.rc0.258.g7320e95886-goog Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791567139799438920 X-GMAIL-MSGID: 1791567139799438920 |
Series |
kconfig: add some Kconfig env variables to make help
|
|
Commit Message
Sergey Senozhatsky
Feb. 22, 2024, 3:12 a.m. UTC
Add a new section "Configuration environment variables" to
`make help` output in order to make it easier for people to
discover KCONFIG_WERRROR, etc.
Signed-off-by: Sergey Senozhatsky <senozhatsky@chromium.org>
---
scripts/kconfig/Makefile | 4 ++++
1 file changed, 4 insertions(+)
Comments
On (24/02/22 12:12), 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_WERRROR, etc. > > Signed-off-by: Sergey Senozhatsky <senozhatsky@chromium.org> > --- > scripts/kconfig/Makefile | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile > index ea1bf3b3dbde..109e28fd6209 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 Kconfing warn about all unrecognized config symbols' ^^ Kconfig fat fingers > > # =========================================================================== > # object files used by all kconfig flavours > -- > 2.44.0.rc0.258.g7320e95886-goog >
diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile index ea1bf3b3dbde..109e28fd6209 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 Kconfing warn about all unrecognized config symbols' # =========================================================================== # object files used by all kconfig flavours