diff options
author | Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> | 2018-01-11 15:33:48 -0800 |
---|---|---|
committer | Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> | 2018-01-31 13:28:58 -0800 |
commit | b1cd463fdf07f81cbf377b70dcfffda1d876777c (patch) | |
tree | 7b24a7362765178bf9f844bfae0562613208fdc4 | |
parent | 535bcdf9796e1e2ca26286a45d8882003eb0b5b6 (diff) | |
download | meta-xilinx-b1cd463fdf07f81cbf377b70dcfffda1d876777c.tar.gz |
u-boot-xlnx: Add PV to include file
Add PV with Xilinx release version and u-boot version. This follows on
similar lines on how we handle kernel recipe
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
-rw-r--r-- | meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-xlnx.inc | 7 | ||||
-rw-r--r-- | meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-xlnx_2017.3.bb | 8 |
2 files changed, 10 insertions, 5 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 | |||
2 | 2 | ||
3 | DEPENDS += "bc-native dtc-native" | 3 | DEPENDS += "bc-native dtc-native" |
4 | 4 | ||
5 | XILINX_RELEASE_VERSION ?= "" | ||
6 | UBOOT_VERSION_EXTENSION ?= "-xilinx-${XILINX_RELEASE_VERSION}" | ||
7 | PV = "${UBOOT_VERSION}${UBOOT_VERSION_EXTENSION}+git${SRCPV}" | ||
8 | |||
5 | UBOOTURI ?= "git://github.com/Xilinx/u-boot-xlnx.git;protocol=https" | 9 | UBOOTURI ?= "git://github.com/Xilinx/u-boot-xlnx.git;protocol=https" |
6 | UBRANCH ?= "master" | 10 | UBRANCH ?= "" |
7 | UBRANCHARG = "${@['nobranch=1', 'branch=${UBRANCH}'][d.getVar('UBRANCH', True) != '']}" | 11 | UBRANCHARG = "${@['nobranch=1', 'branch=${UBRANCH}'][d.getVar('UBRANCH', True) != '']}" |
12 | |||
8 | SRC_URI = "${UBOOTURI};${UBRANCHARG}" | 13 | SRC_URI = "${UBOOTURI};${UBRANCHARG}" |
9 | 14 | ||
10 | S = "${WORKDIR}/git" | 15 | S = "${WORKDIR}/git" |
diff --git a/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-xlnx_2017.3.bb b/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-xlnx_2017.3.bb index c10564f4..b7817c94 100644 --- a/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-xlnx_2017.3.bb +++ b/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-xlnx_2017.3.bb | |||
@@ -1,9 +1,9 @@ | |||
1 | include u-boot-xlnx.inc | 1 | UBOOT_VERSION = "v2017.01" |
2 | include u-boot-spl-zynq-init.inc | ||
3 | |||
4 | XILINX_RELEASE_VERSION = "v2017.3" | 2 | XILINX_RELEASE_VERSION = "v2017.3" |
5 | SRCREV ?= "da811c4511ef9caeb95f9a22fe49d38bd8e56ded" | 3 | SRCREV ?= "da811c4511ef9caeb95f9a22fe49d38bd8e56ded" |
6 | PV = "v2017.01-xilinx-${XILINX_RELEASE_VERSION}+git${SRCPV}" | 4 | |
5 | include u-boot-xlnx.inc | ||
6 | include u-boot-spl-zynq-init.inc | ||
7 | 7 | ||
8 | SRC_URI_append = " \ | 8 | SRC_URI_append = " \ |
9 | file://arm64-zynqmp-Setup-partid-for-QEMU-to-match-silicon.patch \ | 9 | file://arm64-zynqmp-Setup-partid-for-QEMU-to-match-silicon.patch \ |