diff options
author | Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> | 2015-11-04 14:09:10 -0800 |
---|---|---|
committer | Nathan Rossi <nathan@nathanrossi.com> | 2015-11-05 10:52:08 +1000 |
commit | e694faab4dc3d2150aa4383d29d57f3fa9258188 (patch) | |
tree | 9a31cfb32f5754b2007ca01f3222886f8fc5908b | |
parent | 4df613291ba3f3574703231e3e1128ad0bd8f62b (diff) | |
download | meta-xilinx-e694faab4dc3d2150aa4383d29d57f3fa9258188.tar.gz |
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 <manjukumar.harthikote-matha@xilinx.com>
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
-rw-r--r-- | recipes-bsp/u-boot/u-boot-xlnx-dev.bb | 10 |
1 files 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 | |||
11 | 11 | ||
12 | LIC_FILES_CHKSUM = "file://README;beginline=1;endline=6;md5=157ab8408beab40cd8ce1dc69f702a6c" | 12 | LIC_FILES_CHKSUM = "file://README;beginline=1;endline=6;md5=157ab8408beab40cd8ce1dc69f702a6c" |
13 | 13 | ||
14 | SRCREV = "c0dc1a884dc3509fa3e12235c099f1e4edc24431" | 14 | SRCREV ?= '${@oe.utils.conditional( \ |
15 | "PREFERRED_PROVIDER_virtual/bootloader","u-boot-xlnx-dev", \ | ||
16 | "${AUTOREV}", "c0dc1a884dc3509fa3e12235c099f1e4edc24431", d)}' | ||
15 | 17 | ||
16 | python () { | 18 | PV = "${UBRANCH}${XILINX_EXTENSION}+git${SRCPV}" |
17 | d.setVar("SRCREV", "${AUTOREV}") | ||
18 | } | ||
19 | |||
20 | PV = "${UBRANCH}${XILINX_EXTENSION}+git" | ||
21 | 19 | ||
22 | do_compile_append() { | 20 | do_compile_append() { |
23 | # link u-boot-dtb.img to u-boot.img. | 21 | # link u-boot-dtb.img to u-boot.img. |