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

login
register
mail settings
Submitter Otavio Salvador
Date Jan. 28, 2014, 9:31 p.m.
Message ID <1390944686-18941-3-git-send-email-otavio@ossystems.com.br>
Download mbox | patch
Permalink /patch/65989/
State Accepted
Delegated to: Otavio Salvador
Headers show

Comments

Otavio Salvador - Jan. 28, 2014, 9:31 p.m.
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@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(-)

Patch

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