From e694faab4dc3d2150aa4383d29d57f3fa9258188 Mon Sep 17 00:00:00 2001 From: Manjukumar Matha Date: Wed, 4 Nov 2015 14:09:10 -0800 Subject: u-boot-xlnx-dev: Enable config override This commit enables local.conf selection of SRCREV in u-boot-xlnx-dev recipe. Signed-off-by: Manjukumar Matha Signed-off-by: Nathan Rossi --- recipes-bsp/u-boot/u-boot-xlnx-dev.bb | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/recipes-bsp/u-boot/u-boot-xlnx-dev.bb b/recipes-bsp/u-boot/u-boot-xlnx-dev.bb index 7691b5fb..d2eb25be 100644 --- a/recipes-bsp/u-boot/u-boot-xlnx-dev.bb +++ b/recipes-bsp/u-boot/u-boot-xlnx-dev.bb @@ -11,13 +11,11 @@ include u-boot-extra.inc LIC_FILES_CHKSUM = "file://README;beginline=1;endline=6;md5=157ab8408beab40cd8ce1dc69f702a6c" -SRCREV = "c0dc1a884dc3509fa3e12235c099f1e4edc24431" +SRCREV ?= '${@oe.utils.conditional( \ + "PREFERRED_PROVIDER_virtual/bootloader","u-boot-xlnx-dev", \ + "${AUTOREV}", "c0dc1a884dc3509fa3e12235c099f1e4edc24431", d)}' -python () { - d.setVar("SRCREV", "${AUTOREV}") -} - -PV = "${UBRANCH}${XILINX_EXTENSION}+git" +PV = "${UBRANCH}${XILINX_EXTENSION}+git${SRCPV}" do_compile_append() { # link u-boot-dtb.img to u-boot.img. -- cgit v1.2.3-54-g00ecf