[meta-xilinx] [PATCH] u-boot-xlnx-dev: Enable config override

Nathan Rossi nathan at nathanrossi.com
Wed Nov 4 16:56:28 PST 2015


On Thu, Nov 5, 2015 at 8:09 AM, Manjukumar Matha
<manjukumar.harthikote-matha at xilinx.com> wrote:
> This commit enables local.conf selection of SRCREV in u-boot-xlnx-dev
> recipe.

Applied.

Thanks,
Nathan

>
> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha at xilinx.com>
> ---
>  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 823d303..a0e6a9b 100644
> --- a/recipes-bsp/u-boot/u-boot-xlnx-dev.bb
> +++ b/recipes-bsp/u-boot/u-boot-xlnx-dev.bb
> @@ -14,13 +14,11 @@ EXTRA_OEMAKE += 'HOSTCC="${BUILD_CC}" HOSTCFLAGS="${BUILD_CFLAGS}" HOSTLD="${BUI
>
>  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.
> --
> 2.1.4
>
> --
> _______________________________________________
> meta-xilinx mailing list
> meta-xilinx at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-xilinx



More information about the meta-xilinx mailing list