From 0ab4eef6a6d1d0500a4128fee5cd49ff50000d4f Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Thu, 19 Oct 2017 14:08:32 +0200 Subject: u-boot recipes: automatically update to latest -next through override This can be used e.g. for a CI setup to do nightly builds of latest and greatest. To use HEAD of xxx-next instead of the pinned version one would add in local.conf: MACHINEOVERRIDES =. "use-head-next:" Signed-off-by: Max Krummenacher Acked-by: Stefan Agner --- recipes-bsp/u-boot/u-boot-toradex-fsl-fw-utils_git.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'recipes-bsp/u-boot/u-boot-toradex-fsl-fw-utils_git.bb') diff --git a/recipes-bsp/u-boot/u-boot-toradex-fsl-fw-utils_git.bb b/recipes-bsp/u-boot/u-boot-toradex-fsl-fw-utils_git.bb index 7f73228..3c3239c 100644 --- a/recipes-bsp/u-boot/u-boot-toradex-fsl-fw-utils_git.bb +++ b/recipes-bsp/u-boot/u-boot-toradex-fsl-fw-utils_git.bb @@ -18,6 +18,8 @@ FILESPATHPKG =. "git:" SRCREV = "1b121c6ab548a9af0a27876e9eaa0c654c1dc3e1" SRCBRANCH = "2016.11-toradex" +SRCREV_use-head-next = "${AUTOREV}" +SRCBRANCH_use-head-next = "2016.11-toradex-next" SRC_URI = " \ git://git.toradex.com/u-boot-toradex.git;protocol=git;branch=${SRCBRANCH} \ file://fw_env.config \ @@ -25,7 +27,7 @@ SRC_URI = " \ " PV = "2016.11" -PR = "${TDX_VER_INT}+gitr${@d.getVar("SRCREV", False)[0:7]}" +PR = "${TDX_VER_INT}+gitr${SRCPV}" LOCALVERSION ?= "-${TDX_VER_INT}" S = "${WORKDIR}/git" -- cgit v1.2.3