From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Tue, 07 Apr 2026 15:38:05 +0200 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wA6d3-009ZrV-1c for lore@lore.pengutronix.de; Tue, 07 Apr 2026 15:38:05 +0200 Received: from [127.0.0.1] (helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1wA6d3-00077k-30; Tue, 07 Apr 2026 15:38:05 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1wA6cz-00077F-BN; Tue, 07 Apr 2026 15:38:01 +0200 Received: from dude05.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::54]) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wA6cz-004Byb-0X; Tue, 07 Apr 2026 15:38:01 +0200 Received: from [::1] (helo=dude05.red.stw.pengutronix.de) by dude05.red.stw.pengutronix.de with esmtp (Exim 4.98.2) (envelope-from ) id 1wA6cz-0000000BWSD-0IDn; Tue, 07 Apr 2026 15:38:01 +0200 From: Ahmad Fatoum To: distrokit@pengutronix.de Date: Tue, 7 Apr 2026 15:37:55 +0200 Message-ID: <20260407133800.2746328-2-a.fatoum@pengutronix.de> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260407133800.2746328-1-a.fatoum@pengutronix.de> References: <20260407133800.2746328-1-a.fatoum@pengutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [DistroKit] [PATCH 2/2] reason: Check for BOOTM_OFTREE_FALLBACK only if BOOTM_OFTREE=y X-BeenThere: distrokit@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: DistroKit Mailinglist List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ahmad Fatoum Sender: "DistroKit" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: distrokit-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false 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 --- 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