summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManjukumar Matha <manjukumar.harthikote-matha@xilinx.com>2017-11-29 15:33:41 -0800
committerManjukumar Matha <manjukumar.harthikote-matha@xilinx.com>2017-12-04 14:13:20 -0800
commitd8c635715f41fb49a63426e5f6863b419ef9a0cd (patch)
treede59d64012baf0c6f5094bd37c63ce21221d477a
parent3d82ed43fbd9893670d07ea0b3e625fb603baa63 (diff)
downloadmeta-xilinx-d8c635715f41fb49a63426e5f6863b419ef9a0cd.tar.gz
u-boot-xlnx: provide overrideable repo/branch plumbing
With these patches, top level component selection configuration can now easily override u-boot-xlnx source repositories and branches. Signed-off-by: Cyril Chemparathy <cyril.chemparathy@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
-rw-r--r--recipes-bsp/u-boot/u-boot-xlnx.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/recipes-bsp/u-boot/u-boot-xlnx.inc b/recipes-bsp/u-boot/u-boot-xlnx.inc
index 5bdf2a1d..c97a4a4a 100644
--- a/recipes-bsp/u-boot/u-boot-xlnx.inc
+++ b/recipes-bsp/u-boot/u-boot-xlnx.inc
@@ -2,8 +2,10 @@ require recipes-bsp/u-boot/u-boot.inc
2 2
3DEPENDS += "bc-native dtc-native" 3DEPENDS += "bc-native dtc-native"
4 4
5UBOOTURI ?= "git://github.com/Xilinx/u-boot-xlnx.git;protocol=https"
5UBRANCH ?= "master" 6UBRANCH ?= "master"
6SRC_URI = "git://github.com/Xilinx/u-boot-xlnx.git;protocol=https;branch=${UBRANCH}" 7UBRANCHARG = "${@['nobranch=1', 'branch=${UBRANCH}'][d.getVar('UBRANCH', True) != '']}"
8SRC_URI = "${UBOOTURI};${UBRANCHARG}"
7 9
8S = "${WORKDIR}/git" 10S = "${WORKDIR}/git"
9 11