From 04ea0ff09376af9275c3587e6cd947c2a94738fa Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Mon, 27 Jan 2014 23:15:49 -0200 Subject: [PATCH] linux-denx: Update SRC_URI for new fetcher behavior. If SRCREV is not in the master branch, the SRC_URI must specify the branch; this patch also move the inclusion of defconfig file, at SRC_URI, to the .inc to avoid appending it in the 3.9 recipe. Signed-off-by: Otavio Salvador --- recipes-kernel/linux/linux-denx.inc | 4 +++- recipes-kernel/linux/linux-denx_3.9.bb | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/recipes-kernel/linux/linux-denx.inc b/recipes-kernel/linux/linux-denx.inc index 5f32f23..83652d4 100644 --- a/recipes-kernel/linux/linux-denx.inc +++ b/recipes-kernel/linux/linux-denx.inc @@ -15,6 +15,8 @@ require recipes-kernel/linux/linux-dtb.inc # Avoid imx-test installation hacks IMX_TEST_SUPPORT = "n" -SRC_URI = "git://git.denx.de/linux-denx.git " +SRCBRANCH ?= "master" +SRC_URI = "git://git.denx.de/linux-denx.git;branch=${SRCBRANCH} \ + file://defconfig" LOCALVERSION = "-denx" diff --git a/recipes-kernel/linux/linux-denx_3.9.bb b/recipes-kernel/linux/linux-denx_3.9.bb index 1f3c2dc..ec252e7 100644 --- a/recipes-kernel/linux/linux-denx_3.9.bb +++ b/recipes-kernel/linux/linux-denx_3.9.bb @@ -5,6 +5,6 @@ include linux-denx.inc # m53evk SRCREV_m53evk = "7c75b82904fa555ce7988b97619b85a436a8ed12" -SRC_URI_append_m53evk = "file://defconfig " +SRCBRANCH_m53evk = "denx/DENX-v3.9-stable" COMPATIBLE_MACHINE = "(mx5)"