ti-linux-fw: Split out SRC_URI into variables
PATCH 1/1 ti-linux-fw: Split out SRC_URI into variables
To facilitate better testing we need to control all aspects of the SRC_URI. Create TI_LINUX_FW_GIT_URI, TI_LINUX_FW_GIT_PROTOCOL, and TI_LINUX_FW_GIT_BRANCH and build SRC_URI using them.
Signed-off-by Ryan Eatmon <[email protected]>
--- meta-ti-bsp/recipes-bsp/ti-linux-fw/ti-linux-fw.inc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
meta-ti-bsp/recipes-bsp/ti-linux-fw/ti-linux-fw.inc +5 -1
@@ -22,7 +22,11 @@ SRCREV = "${TI_LINUX_FW_SRCREV}" BRANCH ?= "ti-linux-firmware" -SRC_URI = "git://git.ti.com/git/processor-firmware/ti-linux-firmware.git;protocol=https;branch=${BRANCH}" +TI_LINUX_FW_GIT_URI ?= "git://git.ti.com/git/processor-firmware/ti-linux-firmware.git" +TI_LINUX_FW_GIT_PROTOCOL ?= "https" +TI_LINUX_FW_GIT_BRANCH ?= "branch=${BRANCH}" + +SRC_URI = "${TI_LINUX_FW_GIT_URI};protocol=${TI_LINUX_FW_GIT_PROTOCOL};${TI_LINUX_FW_GIT_BRANCH}" S = "${WORKDIR}/git"
Signature · 1 line
2.17.1