From patchwork Thu Feb 22 03:25:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergey Senozhatsky X-Patchwork-Id: 204547 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:aa16:b0:108:e6aa:91d0 with SMTP id by22csp8039dyb; Wed, 21 Feb 2024 19:26:28 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWz7jBqoP1gr1bjK9CA+r+oxaEuFqMXALfAoqGAPW2f/sKKTpLzHXI21FU4raqxIMilAjPMFMaliTYnRKKFD0cFVgVJ+w== X-Google-Smtp-Source: AGHT+IHGpX/Q+a/kFR603iZVlFUExYIgb1FINRFWBu9RCRQBzgS8/3h2OwHhOWMR5yLu90TwpgyN X-Received: by 2002:a05:620a:1478:b0:787:69c9:7f1d with SMTP id j24-20020a05620a147800b0078769c97f1dmr11019394qkl.14.1708572388365; Wed, 21 Feb 2024 19:26:28 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708572388; cv=pass; d=google.com; s=arc-20160816; b=q3XjgIoWbklkRmJj8tlwApubE2p7sPugZhMUzCEOY6S2S4fQXFKIkW67OYDMVTE/vD 7bhBYsqSEf1TJ+QeYywAvA9fCRbQOKsjPoBTzytVQRpxeCwBC2AmqFT3lF/YlfzvQsXS WhanxoVlhQAIaLu8m905+D8xw0+xEObU3aTNidQD2vHo0xyu5n9asuKmY2GmEMhTNuP/ HmBCFpkzeyKpQh9RatugqM/JV+Q1SBoOua1kGvmda/Xxg5jdfKaAX3B4sMiD5JvKzNfe FdZFuwujj6v7obOinK+oFUKCMlcX6U98W3L06+YUiev9wpwzWhN49VYmFXNFTJa3CyIe Rfwg== 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:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=YSw2XZua5CqiB9gf2+U2cFgOtZgxjplbw5UzRI5t8LU=; fh=wu89xKQGy7JWNJo4iiLrGF8OQ9wb0uy/EbrqpybIghk=; b=k8PDoN6Rjy1Noh2aNA1UPDTKJvN0sCO7wKocDN8oU53o9hNti9j8MYQFYnJx3T/z2U RTcgG/2BM7BQFmKOV3zCI/W+AoEwJIiehZKf/acNIQZmBKUDhiI0T+9ISuK3Ky03J1LF xJKMpWCQKb27tBMuSBSDcXQ2PGhJ6NBRpbMTFWa/4nMZ91wB4/n9ZVKMqZnkxIBuRKc1 KDYx/jJs/puCmOr37+H0pRnQiK5rL8UZmz++/3CIUAUACsV6415hb+jGSCjWcgvSFDJU DEssSNY1sK19Avy3mei+OO/anYJ+HYvzQ5WMg+Nd+FS69lsxm0GwToM0ccEYeUCY92DO vvcg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=PtNW7RHd; 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-75846-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-75846-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. [147.75.199.223]) by mx.google.com with ESMTPS id h8-20020a05620a10a800b0078728022249si11696496qkk.624.2024.02.21.19.26.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Feb 2024 19:26:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-75846-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=PtNW7RHd; 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-75846-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-75846-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 2BC271C212F6 for ; Thu, 22 Feb 2024 03:26:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A0EE41772F; Thu, 22 Feb 2024 03:26:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="PtNW7RHd" Received: from mail-pl1-f177.google.com (mail-pl1-f177.google.com [209.85.214.177]) (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 B88CA17553 for ; Thu, 22 Feb 2024 03:26:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.177 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708572368; cv=none; b=i6h0zUpzpDqFm0H+GYOSL4sNWb25edrZsvM3CWSHbvaJyifa8q/dWxfWu+BIZ2sOaY0mimbHj+pHdPRUr88c8Rr4FACp9mUGJ7hFl5vGmMuQZ8crxMnvrOC0YiRnOIzBBtnOqovECDAN2XmavAq3rq1ljTUjlUnYFmhb0rNms1g= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708572368; c=relaxed/simple; bh=bzZ3fX2DEFw0nOMx3kh5bVpyXkZ4XTMyHUYzy2/dFvM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=q6rC/sPag/KO1d8/aQeQ/5tEpZ9wF3L4/3ANW8Q/7wfTPWhjTvwTQtrt9T7bUUewliuafmnPiNFH4CMJdQsohu+xY8WBwEhMYwaxUHV11PEbLGDWrtCjgA0VOgNtCnamloocvjVPxN4SH7cKd64LLl7jMN9S6rVAVYJDEZEFpN4= 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=PtNW7RHd; arc=none smtp.client-ip=209.85.214.177 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-f177.google.com with SMTP id d9443c01a7336-1dc29f1956cso10342805ad.0 for ; Wed, 21 Feb 2024 19:26:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1708572366; x=1709177166; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=YSw2XZua5CqiB9gf2+U2cFgOtZgxjplbw5UzRI5t8LU=; b=PtNW7RHdSMdHfUYrTsy76NtBVVgA8/SHqYhhQXDHUy+3s1RGfxVBTDkUnK0a0Dz3s9 i2Ej0BBZ36oH61+7st7Of3JSYygAq6ifRdVKOej0UAsrflrZ5t9ws1ZeTq3wGkq1CnoH FkaT7hFwiJu/eNpJPJgpVHO4jk5t1dVueqPno= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708572366; x=1709177166; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=YSw2XZua5CqiB9gf2+U2cFgOtZgxjplbw5UzRI5t8LU=; b=XkOAyevRTyZrBdh67JYxOEc7IdiG/IwY6CIGwohQHCJJrlgYNJXf9Zgj4AgJIgiISp o/uHViaQyVrlH2+59s99jhuVJFsVc//yQvzg5J4rJLniNQS+hoNgVNv/NbIsAwFJrjzZ TVQ/MSG30kyS+87E3Vo9R+ooV5PPMyxKPfSjhnSz1j4fd+Cq2pc0Ivr0W3S2q4SSmDTM DNsgKVvliepXeeySPA8ygCxywUelgFkOimPZLf1UKfXh/I2V+L4inIg/CpISOh+VDa/A jdxZqUJVJGNCF4ofG0R1d2f6XPH75MPBKFgyH5tvBL8jO3UtJAmE29x39FySkSj6nNVX y/uQ== X-Forwarded-Encrypted: i=1; AJvYcCWHYS5g+64AYHXh9VxopKpnXGWXHDmi7Tn8ykioBPMaQxuQrKkG8NTVyMCUgl+YJXAap7BPvEL2c+8hMLj4tswzAHgqDoPm3PVa8IjL X-Gm-Message-State: AOJu0Yw0i4m8vyUAWOiJN6HW2IAFukK7K0RoXWIX058pVWKdFelu7C3Q AEm577NHArr10EYaheTqWbpCOo27GOVJMyZLtWsNSlpVNfayTDYiSQhQPxszwg== X-Received: by 2002:a17:902:d2ca:b0:1db:e1f4:d483 with SMTP id n10-20020a170902d2ca00b001dbe1f4d483mr13653262plc.12.1708572365981; Wed, 21 Feb 2024 19:26:05 -0800 (PST) Received: from tigerii.tok.corp.google.com ([2401:fa00:8f:203:480:9ded:eece:6cb3]) by smtp.gmail.com with ESMTPSA id v11-20020a170902f0cb00b001d937bc5602sm8818337pla.227.2024.02.21.19.26.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Feb 2024 19:26:05 -0800 (PST) From: Sergey Senozhatsky To: Masahiro Yamada Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, Sergey Senozhatsky Subject: [PATCHv2] kconfig: add some Kconfig env variables to make help Date: Thu, 22 Feb 2024 12:25:31 +0900 Message-ID: <20240222032559.496127-1-senozhatsky@chromium.org> X-Mailer: git-send-email 2.44.0.rc0.258.g7320e95886-goog In-Reply-To: <20240222031801.GG11472@google.com> References: <20240222031801.GG11472@google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791567139799438920 X-GMAIL-MSGID: 1791568000408439624 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