Skip to contentSkip to conversation

u-boot-ti: add UBOOT_GIT_URI, UBOOT_GIT_PROTOCOL variable

PATCH In review Ankur Tyagi 2 participants 2 messages Aug 18, 2018 – Aug 20, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 u-boot-ti: add UBOOT_GIT_URI, UBOOT_GIT_PROTOCOL variable

This is to allow user to override git repository and git protocol.

---
 recipes-bsp/u-boot/u-boot-ti.inc | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
recipes-bsp/u-boot/u-boot-ti.inc +3 -1
index 61bf990..f22fcb4 100644
@@ -22,7 +22,9 @@ LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = "file://Licenses/README;md5=a2c678cfd4a4d97135585cad908541c6"
 
 BRANCH ?= "master"
-SRC_URI = "git://git.ti.com/ti-u-boot/ti-u-boot.git;protocol=git;branch=${BRANCH}"
+UBOOT_GIT_URI = "git://git.ti.com/ti-u-boot/ti-u-boot.git"
+UBOOT_GIT_PROTOCOL = "git"
+SRC_URI = "${UBOOT_GIT_URI};protocol=${UBOOT_GIT_PROTOCOL};branch=${BRANCH}"
 
 PV_append = "+git${SRCPV}"
 
Signature · 1 line
2.7.4
#1 lore raw

Thanks, I can take this.

Quoted 30 lines · Ankur Tyagi

This is to allow user to override git repository and git protocol.

---
 recipes-bsp/u-boot/u-boot-ti.inc | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
recipes-bsp/u-boot/u-boot-ti.inc +3 -1
index 61bf990..f22fcb4 100644
@@ -22,7 +22,9 @@ LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = "file://Licenses/README;md5=a2c678cfd4a4d97135585cad908541c6"
 
 BRANCH ?= "master"
-SRC_URI = "git://git.ti.com/ti-u-boot/ti-u-boot.git;protocol=git;branch=${BRANCH}"
+UBOOT_GIT_URI = "git://git.ti.com/ti-u-boot/ti-u-boot.git"
+UBOOT_GIT_PROTOCOL = "git"
+SRC_URI = "${UBOOT_GIT_URI};protocol=${UBOOT_GIT_PROTOCOL};branch=${BRANCH}"
 
 PV_append = "+git${SRCPV}"
 
Signature · 7 lines
2.7.4

-- 
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti