diff options
author | Nathan Rossi <nathan@nathanrossi.com> | 2016-11-19 18:23:43 +1000 |
---|---|---|
committer | Nathan Rossi <nathan@nathanrossi.com> | 2016-11-23 15:38:43 +1000 |
commit | 080ad12f8f670323bb558426aa02ddca8d8a1d0d (patch) | |
tree | 5d92447d601b8ab54fd126987da94b209987f298 | |
parent | ef0b532905f0fd94c68d3e6200c42a08e64e2205 (diff) | |
download | meta-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.bb | 2 | ||||
-rw-r--r-- | recipes-bsp/u-boot/u-boot-xlnx.inc | 2 | ||||
-rw-r--r-- | recipes-bsp/u-boot/u-boot-xlnx_2016.01.bb | 4 |
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 | |||
15 | SRCREV_DEFAULT = "aebea9d20a5aa32857f320c07ca8f9fd1b3dec1f" | 15 | SRCREV_DEFAULT = "aebea9d20a5aa32857f320c07ca8f9fd1b3dec1f" |
16 | SRCREV ?= "${@oe.utils.conditional("PREFERRED_PROVIDER_virtual/bootloader", "u-boot-xlnx-dev", "${AUTOREV}", "${SRCREV_DEFAULT}", d)}" | 16 | SRCREV ?= "${@oe.utils.conditional("PREFERRED_PROVIDER_virtual/bootloader", "u-boot-xlnx-dev", "${AUTOREV}", "${SRCREV_DEFAULT}", d)}" |
17 | 17 | ||
18 | PV = "${UBRANCH}${XILINX_EXTENSION}+git${SRCPV}" | 18 | PV = "${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 |
21 | HAS_PS7INIT ?= " \ | 21 | HAS_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 | ||
3 | DEPENDS += "dtc-native" | 3 | DEPENDS += "dtc-native" |
4 | 4 | ||
5 | XILINX_EXTENSION = "-xilinx" | ||
6 | |||
7 | UBRANCH ?= "master" | 5 | UBRANCH ?= "master" |
8 | SRC_URI = "git://github.com/Xilinx/u-boot-xlnx.git;protocol=https;branch=${UBRANCH}" | 6 | SRC_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 @@ | |||
1 | include u-boot-xlnx.inc | 1 | include u-boot-xlnx.inc |
2 | include u-boot-spl-zynq-init.inc | 2 | include u-boot-spl-zynq-init.inc |
3 | 3 | ||
4 | # this matches u-boot-xlnx 'xilinx-v2016.2' release tag | 4 | XILINX_RELEASE_VERSION = "v2016.2" |
5 | SRCREV = "0daf88c7f8c9085a81336a0ad2dd3bcc84c7a18a" | 5 | SRCREV = "0daf88c7f8c9085a81336a0ad2dd3bcc84c7a18a" |
6 | PV = "v2016.01${XILINX_EXTENSION}+git${SRCPV}" | 6 | PV = "v2016.01-xilinx-${XILINX_RELEASE_VERSION}+git${SRCPV}" |
7 | 7 | ||
8 | FILESEXTRAPATHS_prepend := "${THISDIR}/u-boot-xlnx:" | 8 | FILESEXTRAPATHS_prepend := "${THISDIR}/u-boot-xlnx:" |
9 | 9 | ||