summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Rossi <nathan@nathanrossi.com>2016-11-19 18:23:43 +1000
committerNathan Rossi <nathan@nathanrossi.com>2016-11-23 15:38:43 +1000
commit080ad12f8f670323bb558426aa02ddca8d8a1d0d (patch)
tree5d92447d601b8ab54fd126987da94b209987f298
parentef0b532905f0fd94c68d3e6200c42a08e64e2205 (diff)
downloadmeta-xilinx-080ad12f8f670323bb558426aa02ddca8d8a1d0d.tar.gz
u-boot-xlnx: Embed Xilinx Release Version into PV
Embed the Xilinx Release Version into the PV of the u-boot-xlnx recipes. This allows for easier determination of which version of u-boot-xlnx is in use and avoid any ambiguity when one or more Xilinx Release uses the same upstream u-boot version. This removes the need for the comment on what the SRCREV points at, instead this is replaced with a XILINX_RELEASE_VERSION variable which contains the 'vYYYY.X' release string. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
-rw-r--r--recipes-bsp/u-boot/u-boot-xlnx-dev.bb2
-rw-r--r--recipes-bsp/u-boot/u-boot-xlnx.inc2
-rw-r--r--recipes-bsp/u-boot/u-boot-xlnx_2016.01.bb4
3 files changed, 3 insertions, 5 deletions
diff --git a/recipes-bsp/u-boot/u-boot-xlnx-dev.bb b/recipes-bsp/u-boot/u-boot-xlnx-dev.bb
index 78dfcf66..7653da5a 100644
--- a/recipes-bsp/u-boot/u-boot-xlnx-dev.bb
+++ b/recipes-bsp/u-boot/u-boot-xlnx-dev.bb
@@ -15,7 +15,7 @@ LIC_FILES_CHKSUM = "file://README;beginline=1;endline=6;md5=157ab8408beab40cd8ce
15SRCREV_DEFAULT = "aebea9d20a5aa32857f320c07ca8f9fd1b3dec1f" 15SRCREV_DEFAULT = "aebea9d20a5aa32857f320c07ca8f9fd1b3dec1f"
16SRCREV ?= "${@oe.utils.conditional("PREFERRED_PROVIDER_virtual/bootloader", "u-boot-xlnx-dev", "${AUTOREV}", "${SRCREV_DEFAULT}", d)}" 16SRCREV ?= "${@oe.utils.conditional("PREFERRED_PROVIDER_virtual/bootloader", "u-boot-xlnx-dev", "${AUTOREV}", "${SRCREV_DEFAULT}", d)}"
17 17
18PV = "${UBRANCH}${XILINX_EXTENSION}+git${SRCPV}" 18PV = "${UBRANCH}-xilinx-dev+git${SRCPV}"
19 19
20# Newer versions of u-boot have support for these 20# Newer versions of u-boot have support for these
21HAS_PS7INIT ?= " \ 21HAS_PS7INIT ?= " \
diff --git a/recipes-bsp/u-boot/u-boot-xlnx.inc b/recipes-bsp/u-boot/u-boot-xlnx.inc
index 78b331a5..09feb7f2 100644
--- a/recipes-bsp/u-boot/u-boot-xlnx.inc
+++ b/recipes-bsp/u-boot/u-boot-xlnx.inc
@@ -2,8 +2,6 @@ require recipes-bsp/u-boot/u-boot.inc
2 2
3DEPENDS += "dtc-native" 3DEPENDS += "dtc-native"
4 4
5XILINX_EXTENSION = "-xilinx"
6
7UBRANCH ?= "master" 5UBRANCH ?= "master"
8SRC_URI = "git://github.com/Xilinx/u-boot-xlnx.git;protocol=https;branch=${UBRANCH}" 6SRC_URI = "git://github.com/Xilinx/u-boot-xlnx.git;protocol=https;branch=${UBRANCH}"
9 7
diff --git a/recipes-bsp/u-boot/u-boot-xlnx_2016.01.bb b/recipes-bsp/u-boot/u-boot-xlnx_2016.01.bb
index 2107e1d9..a6b243d5 100644
--- a/recipes-bsp/u-boot/u-boot-xlnx_2016.01.bb
+++ b/recipes-bsp/u-boot/u-boot-xlnx_2016.01.bb
@@ -1,9 +1,9 @@
1include u-boot-xlnx.inc 1include u-boot-xlnx.inc
2include u-boot-spl-zynq-init.inc 2include u-boot-spl-zynq-init.inc
3 3
4# this matches u-boot-xlnx 'xilinx-v2016.2' release tag 4XILINX_RELEASE_VERSION = "v2016.2"
5SRCREV = "0daf88c7f8c9085a81336a0ad2dd3bcc84c7a18a" 5SRCREV = "0daf88c7f8c9085a81336a0ad2dd3bcc84c7a18a"
6PV = "v2016.01${XILINX_EXTENSION}+git${SRCPV}" 6PV = "v2016.01-xilinx-${XILINX_RELEASE_VERSION}+git${SRCPV}"
7 7
8FILESEXTRAPATHS_prepend := "${THISDIR}/u-boot-xlnx:" 8FILESEXTRAPATHS_prepend := "${THISDIR}/u-boot-xlnx:"
9 9