[meta-freescale] [meta-fsl-arm-extra PATCH v2 2/6] linux-denx: Update SRC_URI for new fetcher behavior.

Otavio Salvador otavio at ossystems.com.br
Tue Jan 28 13:31:22 PST 2014


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 <otavio at ossystems.com.br>
---

Changes in v2:
- new patch

 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)"
-- 
1.8.5.3



More information about the meta-freescale mailing list