From 8668392b04aaa6ff995620ad0c61dd413d775b1d Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Mon, 27 Mar 2017 20:10:18 +0200 Subject: u-boot: use the new version variables Signed-off-by: Max Krummenacher Acked-by: Marcel Ziswiler --- recipes-bsp/u-boot/u-boot-toradex_git.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'recipes-bsp/u-boot/u-boot-toradex_git.bb') diff --git a/recipes-bsp/u-boot/u-boot-toradex_git.bb b/recipes-bsp/u-boot/u-boot-toradex_git.bb index e86f26a..87e1c69 100644 --- a/recipes-bsp/u-boot/u-boot-toradex_git.bb +++ b/recipes-bsp/u-boot/u-boot-toradex_git.bb @@ -1,4 +1,5 @@ require recipes-bsp/u-boot/u-boot.inc +include conf/tdx_version.conf PROVIDES = "u-boot virtual/bootloader" DEPENDS += "dtc-native" @@ -20,7 +21,8 @@ SRCREV = "cedf55d098b4b0af2815c92ee40576a4c899fcfb" SRCBRANCH = "2016.11-toradex-next" SRC_URI = "git://git.toradex.com/u-boot-toradex.git;protocol=git;branch=${SRCBRANCH}" -PV = "v2016.11-v2.7b1+git${SRCPV}" +PV = "2016.11" +PR = "${TDX_VER_INT}-gitr${@d.getVar("SRCREV", False)[0:7]}" # require u-boot-dtb-tegra.bin to be used UBOOT_IMAGE = "u-boot-dtb-tegra-${MACHINE}-${PV}-${PR}.${UBOOT_SUFFIX}" -- cgit v1.2.3