From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-19.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 031A3C433F5 for ; Sat, 18 Sep 2021 18:21:52 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 49E7161108 for ; Sat, 18 Sep 2021 18:21:51 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 49E7161108 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id BA84D83116; Sat, 18 Sep 2021 20:21:48 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="LHVW1Ia8"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 349A883135; Sat, 18 Sep 2021 20:21:47 +0200 (CEST) Received: from mail-pg1-x534.google.com (mail-pg1-x534.google.com [IPv6:2607:f8b0:4864:20::534]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 7196882D1C for ; Sat, 18 Sep 2021 20:21:43 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-pg1-x534.google.com with SMTP id 17so13061699pgp.4 for ; Sat, 18 Sep 2021 11:21:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=UuluYnPk3JoYd2n6fC9rNIQAnpff1iSrLfLt2apdrXI=; b=LHVW1Ia8o0WG1HM3UlPUzNwBhTbcF4a276U0ZPVGa/M5CsH/Xk3XZ91m+JJxWn9R+W r87TpJIUPOAWIyLJ7MZJ6SPix4BQ3byYcJFCJsfowuyodypyEOHfr3ATr5JuL082pOSj ck+T5HjwCWucIbSdAZkO5FJn9zHyKszuyCqsA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=UuluYnPk3JoYd2n6fC9rNIQAnpff1iSrLfLt2apdrXI=; b=TZOyOKpX3M7XdAW+//TAYboI4nH1RUpzyZcwk2sMMuXi9UO/4S7gt1AiZ8/Mo6kiOE PVY87YNnwlI6/rKcx1+jB77hvJjlTafvU/vYcCI5poOfMnN7lqYgSe09NJDFRYjqQv1+ CEkoaOm+ptWYaM164zidSF+0HarnYmFsZ/ULGXjC+5MxnCAdC4VpquzDB3vJeOaUp6WP IbszYxfr34dB/Q4N1xEQVLCKOdUn3XyXzYzezewLl43QHRXpWvCfomYsxj282bqPCtHn E0YW6YkWW8sL30SFJHMw/WwT/8ExQ56jGO5g0N+sg+x3Q1A2KACjEwAmawn0QAXrrGxv EJDw== X-Gm-Message-State: AOAM532uAARA9UxepUkhGBdoGscSk+GJndpdagKkRRUbdNhnG47/wdNH cf/wNxcpNLGrsAJo6YmyZeXY8I30gM/539Sb X-Google-Smtp-Source: ABdhPJzE28QC6Boiy/i6zEFXtqos/+GyLqnBPTKbFPGATKrpGd4YIajPL6w73gHdeGC8LCHdgQF24Q== X-Received: by 2002:a63:9d06:: with SMTP id i6mr15887430pgd.419.1631989301457; Sat, 18 Sep 2021 11:21:41 -0700 (PDT) Received: from sjg1.unitedwifi.com ([205.220.129.20]) by smtp.gmail.com with ESMTPSA id g27sm841614pfk.173.2021.09.18.11.21.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 Sep 2021 11:21:40 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Masahiro Yamada , Simon Glass , Bin Meng , =?UTF-8?q?Marek=20Beh=C3=BAn?= , =?UTF-8?q?Pali=20Roh=C3=A1r?= Subject: [PATCH] Makefile: Add a warning about ad-hoc CONFIG options Date: Sat, 18 Sep 2021 12:21:21 -0600 Message-Id: <20210918182122.1854781-1-sjg@chromium.org> X-Mailer: git-send-email 2.33.0.464.g1972c5931b-goog MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean The Kconfig feature was added in 2014. Some 7 years later there are still quite a few CONFIG options that have not been migrated. It is time to close this out. Add a deadline and a warning for boards to migrate to Kconfig. Signed-off-by: Simon Glass --- Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Makefile b/Makefile index 3014788e14e..7e73e6df1ef 100644 --- a/Makefile +++ b/Makefile @@ -1132,6 +1132,16 @@ endif @# know about unless they are in Kconfig. All the existing CONFIG @# options are whitelisted, so new ones should not be added. $(call cmd,cfgcheck,u-boot.cfg) + @if [ -s include/autoconf.mk ]; then \ + echo >&2 "===================== WARNING ======================"; \ + echo >&2 "This board uses ad-hoc CONFIG options, i.e. those"; \ + echo >&2 "not defined by a Kconfig option."; \ + echo >&2 "Support for these will be dropped starting with the"; \ + echo >&2 "v2022.10 release. Please add new Kconfig options"; \ + echo >&2 "as needed, or use devicetree."; \ + echo >&2 "Failure to update may result in board removal."; \ + echo >&2 "===================================================="; \ + fi PHONY += dtbs dtbs: dts/dt.dtb -- 2.33.0.464.g1972c5931b-goog