Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 12DA7C43334 for ; Tue, 12 Jul 2022 01:04:26 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 51CC18407E; Tue, 12 Jul 2022 03:04:24 +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="P0LR98jF"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 51C648408E; Tue, 12 Jul 2022 03:04:22 +0200 (CEST) Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) (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 9205B8407D for ; Tue, 12 Jul 2022 03:04:18 +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-wr1-x42d.google.com with SMTP id v14so9097572wra.5 for ; Mon, 11 Jul 2022 18:04:18 -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=SldOM0DvvmKwaNXOJruK2CFaz8iBCVAiikNgCsjRG60=; b=P0LR98jFQcY/CzvL8V20Tg2MhGcM90iP9m/l/9TMr2K1b8YQwepLc3kNX2NhkM5Rky RJ+HkC6ysrNN3U78yw3Gb96y9RmSoqUv3smi7zF6qn5QCz421YCDOYi9j4uqH+mMUoBa IRerxw1cdsYauC+jFOY8BALkeXFK3RObVPG/E= 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=SldOM0DvvmKwaNXOJruK2CFaz8iBCVAiikNgCsjRG60=; b=JQqRTwyJwAW8cJ4GITYJTvWlDq1i9lgutN5lYiCzaG5qiw6BbQ5AnUZQC6rDBhxoo9 oNYk5orHuwvw3DKVsASM8fc6JguvYPoKdE1M/umNpRYOh36EHUtNU9VKpoYPDf9QhlSo wEcItPhs5/S7AILi5GT4Ch7DtlI1zUZpov62cdQl0RmZ5Q1D63CXQmGAU8p1PTJ5jgEX 2NVIt9lF1lMVWeCa9HevBzK9MoVlhXLeXbuMDyYj2vtQ+y1FSY/oRIlatAxum9yTQ/R0 dbfL7XOB3HOzAYgk2A6HXEgxaFvO8IcsnXCcQRWGIgRBqhMUhQ8Rv7PNCdNQJ8CixRbk /arw== X-Gm-Message-State: AJIora/rFGSyeajoQYqnR5DDwqf1XhGC761gfnmT/CNSwHtIGtU/JgjJ wRnwmBW9gqo5xf7su4jDiChzaziHpYL4HA== X-Google-Smtp-Source: AGRyM1swLZ6NdL0k2xFiSqLtq7PKaQ4arOs3gyzevK1Dm4bNoyEiTRZcIEhwFhtjStD0eWu4LGnsTw== X-Received: by 2002:a05:6000:1849:b0:21d:9ad7:f27f with SMTP id c9-20020a056000184900b0021d9ad7f27fmr12613113wri.445.1657587857750; Mon, 11 Jul 2022 18:04:17 -0700 (PDT) Received: from sjg1.roam.corp.google.com (host-92-0-109-232.as13285.net. [92.0.109.232]) by smtp.gmail.com with ESMTPSA id p12-20020a5d48cc000000b0021d9d13bf6csm5541152wrs.97.2022.07.11.18.04.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Jul 2022 18:04:17 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Simon Glass , AKASHI Takahiro , Alexandru Gagniuc , Alper Nebi Yasak , Andre Przywara , Angelo Dureghello , Bin Meng , Heinrich Schuchardt , Jan Kiszka , Patrick Delaunay , Steffen Jaeckel Subject: [PATCH 00/19] buildman: Integration of boards.cfg file Date: Mon, 11 Jul 2022 19:03:54 -0600 Message-Id: <20220712010413.331984-1-sjg@chromium.org> X-Mailer: git-send-email 2.37.0.144.g8ac04bfd2-goog MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.6 at phobos.denx.de X-Virus-Status: Clean This series drops the need for the genboardscfg.py script, so that the boards.cfg file is produced (and consumed) entirely within buildman. The file is not entirely removed since it does have some uses and we need some sort of cache for the information. The genboardscfg.py script is effectively incorporated in buildman. It also improves operation from an IDE with a new -I option and fixes up some of the pylint warnings in buildman. Finally, this series also fixes a bug which allows use to drop support for CONFIG_SYS_EXTRA_OPTIONS which is long-standing desire. It also fixes a minor bug that causes 'Invalid line' spam when checking for function bloat with the -B option. Simon Glass (19): buildman: Drop -I option buildman: Support running from an IDE buildman: Avoid using board as a variable buildman: Fix use of 'boards' in func_test buildman: Fix use of 'boards' in test buildman: Drop use of 'boards' in control buildman: Drop use of 'board' in board module buildman: Convert camel case in board.py buildman: Split out Boards into its own file buildman: Incorporate the genboardscfg.py tool buildman: Tidy up pylint problems in boards module buildman: Replace the Options column with config name Revert "Revert "global: Remove CONFIG_SYS_EXTRA_OPTIONS support"" buildman: Return an error if there are maintainer warnings gitlab/azure: Use buildman instead of genboardscfg Drop genboardscfg.py buildman: Allow lines without a symbol buildman: Drop a Python 2.7 comment buildman: Drop a TODO that is done .azure-pipelines.yml | 2 +- .gitlab-ci.yml | 2 +- boot/Kconfig | 13 - doc/README.kconfig | 7 - doc/develop/moveconfig.rst | 3 +- scripts/Makefile.autoconf | 4 - scripts/build-whitelist.sh | 23 +- scripts/pylint.base | 1 - tools/buildman/README | 40 +- tools/buildman/board.py | 289 +----------- tools/buildman/boards.py | 752 ++++++++++++++++++++++++++++++++ tools/buildman/builder.py | 140 +++--- tools/buildman/builderthread.py | 6 +- tools/buildman/cmdline.py | 7 +- tools/buildman/control.py | 56 ++- tools/buildman/func_test.py | 59 +-- tools/buildman/test.py | 45 +- tools/buildman/toolchain.py | 8 +- tools/genboardscfg.py | 444 ------------------- tools/moveconfig.py | 65 --- 20 files changed, 960 insertions(+), 1006 deletions(-) create mode 100644 tools/buildman/boards.py delete mode 100755 tools/genboardscfg.py -- 2.37.0.144.g8ac04bfd2-goog