u-boot-ti: add UBOOT_GIT_URI, UBOOT_GIT_PROTOCOL variable
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.
Signed-off-by Ankur Tyagi <[email protected]>
--- 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
@@ -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
Thanks, I can take this.
Quoted 30 lines · Ankur Tyagi
This is to allow user to override git repository and git protocol.
Signed-off-by Ankur Tyagi <[email protected]>--- 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@@ -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