diff options
Diffstat (limited to 'meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-xlnx.inc')
-rw-r--r-- | meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-xlnx.inc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-xlnx.inc b/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-xlnx.inc index c97a4a4a..90e0ab25 100644 --- a/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-xlnx.inc +++ b/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-xlnx.inc @@ -2,9 +2,14 @@ require recipes-bsp/u-boot/u-boot.inc DEPENDS += "bc-native dtc-native" +XILINX_RELEASE_VERSION ?= "" +UBOOT_VERSION_EXTENSION ?= "-xilinx-${XILINX_RELEASE_VERSION}" +PV = "${UBOOT_VERSION}${UBOOT_VERSION_EXTENSION}+git${SRCPV}" + UBOOTURI ?= "git://github.com/Xilinx/u-boot-xlnx.git;protocol=https" -UBRANCH ?= "master" +UBRANCH ?= "" UBRANCHARG = "${@['nobranch=1', 'branch=${UBRANCH}'][d.getVar('UBRANCH', True) != '']}" + SRC_URI = "${UBOOTURI};${UBRANCHARG}" S = "${WORKDIR}/git" |