diff options
author | Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> | 2017-11-29 15:33:41 -0800 |
---|---|---|
committer | Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> | 2017-12-04 14:13:20 -0800 |
commit | d8c635715f41fb49a63426e5f6863b419ef9a0cd (patch) | |
tree | de59d64012baf0c6f5094bd37c63ce21221d477a | |
parent | 3d82ed43fbd9893670d07ea0b3e625fb603baa63 (diff) | |
download | meta-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.inc | 4 |
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 | ||
3 | DEPENDS += "bc-native dtc-native" | 3 | DEPENDS += "bc-native dtc-native" |
4 | 4 | ||
5 | UBOOTURI ?= "git://github.com/Xilinx/u-boot-xlnx.git;protocol=https" | ||
5 | UBRANCH ?= "master" | 6 | UBRANCH ?= "master" |
6 | SRC_URI = "git://github.com/Xilinx/u-boot-xlnx.git;protocol=https;branch=${UBRANCH}" | 7 | UBRANCHARG = "${@['nobranch=1', 'branch=${UBRANCH}'][d.getVar('UBRANCH', True) != '']}" |
8 | SRC_URI = "${UBOOTURI};${UBRANCHARG}" | ||
7 | 9 | ||
8 | S = "${WORKDIR}/git" | 10 | S = "${WORKDIR}/git" |
9 | 11 | ||