All of lore.kernel.org
 help / color / mirror / Atom feed
From: Massimo Pegorer <massimo.pegorer+oss@gmail.com>
To: Simon Glass <sjg@chromium.org>, u-boot@lists.u-boot-project.org
Cc: "Tom Rini" <trini@konsulko.com>,
	"Ilias Apalodimas" <ilias.apalodimas@linaro.org>,
	"Quentin Schulz" <u-boot@0leil.net>,
	"Kever Yang" <kever.yang@rock-chips.com>,
	"Mattijs Korpershoek" <mkorpershoek@kernel.org>,
	"Jonas Karlman" <jonas@kwiboo.se>,
	"Neil Armstrong" <neil.armstrong@linaro.org>,
	"Marek Vasut" <marek.vasut+usb@mailbox.org>,
	"Jörg Sommer" <joerg@jo-so.de>,
	"Carlo Caione" <ccaione@baylibre.com>,
	"Alexey Charkov" <alchark@gmail.com>,
	"Massimo Pegorer" <massimo.pegorer+oss@gmail.com>
Subject: [PATCH 0/2] Avoid needless CONFIG_TPL_BUILD checks for U-Boot proper build
Date: Tue, 08 Sep 2026 19:04:58 +0200	[thread overview]
Message-ID: <20260908-xpl-v1-0-58e9e5248c29@gmail.com> (raw)

Just check that CONFIG_XPL_BUILD is not set to select files for U-Boot
proper build. Indeed, CONFIG_TPL_BUILD being set implies by design that
CONFIG_XPL_BUILD is set too, therefore CONFIG_XPL_BUILD not set implies
that CONFIG_TPL_BUILD is not set either, making its check needless.

Signed-off-by: Massimo Pegorer <massimo.pegorer+oss@gmail.com>
---
Massimo Pegorer (2):
      arch: arm: rockchip: Skip needless CONFIG_TPL_BUILD check
      drivers: Skip needless CONFIG_TPL_BUILD check

 arch/arm/mach-rockchip/Makefile | 2 +-
 drivers/Makefile                | 2 +-
 drivers/bus/Makefile            | 2 +-
 drivers/mtd/Makefile            | 2 +-
 drivers/mtd/nand/Makefile       | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)
---
base-commit: b4ac71db13a33c4e6532c60a781ddf34b7f4375a
change-id: 20260908-xpl-8c3ee1f3549e

Best regards,
--  
Massimo Pegorer <massimo.pegorer+oss@gmail.com>


             reply	other threads:[~2026-09-08 17:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-08 17:04 Massimo Pegorer [this message]
2026-09-08 17:04 ` [PATCH 1/2] arch: arm: rockchip: Skip needless CONFIG_TPL_BUILD check Massimo Pegorer
2026-09-08 17:05 ` [PATCH 2/2] drivers: " Massimo Pegorer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260908-xpl-v1-0-58e9e5248c29@gmail.com \
    --to=massimo.pegorer+oss@gmail.com \
    --cc=alchark@gmail.com \
    --cc=ccaione@baylibre.com \
    --cc=ilias.apalodimas@linaro.org \
    --cc=joerg@jo-so.de \
    --cc=jonas@kwiboo.se \
    --cc=kever.yang@rock-chips.com \
    --cc=marek.vasut+usb@mailbox.org \
    --cc=mkorpershoek@kernel.org \
    --cc=neil.armstrong@linaro.org \
    --cc=sjg@chromium.org \
    --cc=trini@konsulko.com \
    --cc=u-boot@0leil.net \
    --cc=u-boot@lists.u-boot-project.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.