All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] u-boot: set git repo branch with SRCBRANCH
@ 2025-04-04  7:51 Mikko Rapeli
  2025-04-07 17:05 ` [OE-core] " Alexander Kanavin
  2025-04-08  9:00 ` Richard Purdie
  0 siblings, 2 replies; 6+ messages in thread
From: Mikko Rapeli @ 2025-04-04  7:51 UTC (permalink / raw)
  To: openembedded-core; +Cc: Mikko Rapeli

Enables changing branch from "master" to "next"
when building bleeding edge upstream versions for
testing purposes. Now local.conf setup to
build latest "next" version becomes:

INHERIT += "poky-bleeding"
POKY_AUTOREV_RECIPES += "u-boot"
SRCBRANCH:pn-u-boot = "next"

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
---
 meta/recipes-bsp/u-boot/u-boot-common.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-bsp/u-boot/u-boot-common.inc b/meta/recipes-bsp/u-boot/u-boot-common.inc
index fc860248ed..9e96c46b74 100644
--- a/meta/recipes-bsp/u-boot/u-boot-common.inc
+++ b/meta/recipes-bsp/u-boot/u-boot-common.inc
@@ -13,8 +13,8 @@ PE = "1"
 # We use the revision in order to avoid having to fetch it from the
 # repo during parse
 SRCREV = "6d41f0a39d6423c8e57e92ebbe9f8c0333a63f72"
-
-SRC_URI = "git://source.denx.de/u-boot/u-boot.git;protocol=https;branch=master"
+SRCBRANCH ?= "master"
+SRC_URI = "git://source.denx.de/u-boot/u-boot.git;protocol=https;branch=${SRCBRANCH}"
 
 S = "${WORKDIR}/git"
 B = "${WORKDIR}/build"
-- 
2.43.0



^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-04-08 10:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-04  7:51 [PATCH] u-boot: set git repo branch with SRCBRANCH Mikko Rapeli
2025-04-07 17:05 ` [OE-core] " Alexander Kanavin
2025-04-08  6:42   ` Mikko Rapeli
2025-04-08  7:51     ` Alexander Kanavin
2025-04-08  9:00 ` Richard Purdie
2025-04-08 10:40   ` Mikko Rapeli

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.