Skip to contentSkip to conversation

u-boot-ti: Tweak the GIT variables for u-boot

PATCH New Ryan Eatmon 1 participant 1 message Oct 21, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 u-boot-ti: Tweak the GIT variables for u-boot

We are planning on adding upstream u-boot testing against stable tagged versions of u-boot and need a little more control over telling bitbake to not point at a branch but point to a tag.

---
 meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc +3 -2
index 97237d66..0e7e2c6e 100644
@@ -21,8 +21,9 @@ LIC_FILES_CHKSUM = "file://Licenses/README;md5=2ca5f2c35c8cc335f0a19756634782f1"
 
 BRANCH ?= "master"
 UBOOT_GIT_URI ?= "git://git.ti.com/git/ti-u-boot/ti-u-boot.git"
-UBOOT_GIT_PROTOCOL = "https"
-SRC_URI = "${UBOOT_GIT_URI};protocol=${UBOOT_GIT_PROTOCOL};branch=${BRANCH}"
+UBOOT_GIT_PROTOCOL ?= "https"
+UBOOT_GIT_BRANCH ?= "branch=${BRANCH}"
+SRC_URI = "${UBOOT_GIT_URI};protocol=${UBOOT_GIT_PROTOCOL};${UBOOT_GIT_BRANCH}"
 
 PV:append = "+git"
 
Signature · 1 line
2.17.1