DistroKit Mailinglist
 help / color / mirror / Atom feed
From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: distrokit@pengutronix.de
Cc: Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: [DistroKit] [PATCH 2/2] reason: Check for BOOTM_OFTREE_FALLBACK only if BOOTM_OFTREE=y
Date: Tue,  7 Apr 2026 15:37:55 +0200	[thread overview]
Message-ID: <20260407133800.2746328-2-a.fatoum@pengutronix.de> (raw)
In-Reply-To: <20260407133800.2746328-1-a.fatoum@pengutronix.de>

We have an override to enforce BOOTM_OFTREE_FALLBACK=y in DistroKit, but
that only makes sense of course, if we are actually using DT.

This is currently the case for all our barebox use, but not all our
platforms use barebox. Therefore make the rule conditional of having a
barebox config and BOOTM_OFTREE being actually enabled.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
 configs/bsp.ref | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configs/bsp.ref b/configs/bsp.ref
index 934c99c262c5..de2736462445 100644
--- a/configs/bsp.ref
+++ b/configs/bsp.ref
@@ -49,6 +49,7 @@ barebox_oftree_fallback:
     We take care in DistroKit though to specify the DT when we specify
     a kernel, so enable this option as it's occasionally helpful for quick
     debugging.
+  condition: kconfig.have_barebox_config() and kconfig.BareboxConfig()['BOOTM_OFTREE']
   present:
     - BOOTM_OFTREE_FALLBACK
 
-- 
2.47.3




  reply	other threads:[~2026-04-07 13:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-07 13:37 [DistroKit] [PATCH 1/2] barebox: enable CONFIG_BOOTM_OFTREE_FALLBACK everywhere Ahmad Fatoum
2026-04-07 13:37 ` Ahmad Fatoum [this message]
2026-04-07 13:43 ` Robert Schwebel

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=20260407133800.2746328-2-a.fatoum@pengutronix.de \
    --to=a.fatoum@pengutronix.de \
    --cc=distrokit@pengutronix.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox