[meta-lsi] [PATCH 28/86] linux-yocto: For 3.10 set SRC_URI to LSI Github repos

Daniel Dragomir daniel.dragomir at windriver.com
Wed Oct 29 08:35:36 PDT 2014


From: Paul Butler <paul.butler at windriver.com>

- For linux-yocto 3.10 kernel set SRC_URI variable to use LSI Github
  kernel repos instead of local git repos.
- Froce to build from the top of the repo by setting SRCREV to AUTOREV

Signed-off-by: Paul Butler <paul.butler at windriver.com>
---
 recipes-kernel/linux/linux-yocto-rt_3.10.bbappend | 26 +++++++++++++++++------
 recipes-kernel/linux/linux-yocto_3.10.bbappend    |  4 +++-
 2 files changed, 22 insertions(+), 8 deletions(-)

diff --git a/recipes-kernel/linux/linux-yocto-rt_3.10.bbappend b/recipes-kernel/linux/linux-yocto-rt_3.10.bbappend
index 5c24dcf..edf3496 100644
--- a/recipes-kernel/linux/linux-yocto-rt_3.10.bbappend
+++ b/recipes-kernel/linux/linux-yocto-rt_3.10.bbappend
@@ -1,9 +1,21 @@
-FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+require linux-yocto_3.10.inc
 
-COMPATIBLE_MACHINE_crownbay-noemgd = "crownbay-noemgd"
-KMACHINE_crownbay-noemgd = "crownbay"
+KBRANCH_${MACHINE} = "standard/preempt-rt/lsi/base"
+LINUX_KERNEL_TYPE = "preempt-rt"
 
-# Update the following to use a different BSP branch or meta SRCREV
-#KBRANCH_crownbay-noemgd = "standard/preempt-rt/base"
-#SRCREV_machine_pn-linux-yocto-rt_crownbay-noemgd ?= XXXX
-#SRCREV_meta_pn-linux-yocto-rt_crownbay-noemgd ?= XXXX
+#SRCREV_machine=""
+#SRCREV_meta=""
+
+SRCREV_machine="${AUTOREV}"
+SRCREV_meta="${AUTOREV}"
+
+#SRC_URI = "git://git.yoctoproject.org/linux-yocto-3.10.git;protocol=git;nocheckout=1;branch=${KBRANCH},${KMETA};name=machine,meta"
+
+SRC_URI = "git://git@github.com/lsigithub/lsi_axxia_yocto_3.10.git;protocol=ssh;nocheckout=1;branch=${KBRANCH},${KMETA};name=machine,meta"
+
+#SRC_URI = "git:///home/pbutler/repos/linux-yocto-3.10;protocol=file;nocheckout=1;branch=${KBRANCH},${KMETA};name=machine,meta"
+
+PR = "r0"
+PV = "${LINUX_VERSION}+12345"
+
+LOCALCOUNT = "0"
diff --git a/recipes-kernel/linux/linux-yocto_3.10.bbappend b/recipes-kernel/linux/linux-yocto_3.10.bbappend
index 029a968..9ea358f 100644
--- a/recipes-kernel/linux/linux-yocto_3.10.bbappend
+++ b/recipes-kernel/linux/linux-yocto_3.10.bbappend
@@ -11,7 +11,9 @@ SRCREV_meta="${AUTOREV}"
 
 #SRC_URI = "git://git.yoctoproject.org/linux-yocto-3.10.git;protocol=git;nocheckout=1;branch=${KBRANCH},${KMETA};name=machine,meta"
 
-SRC_URI = "git:///home/pbutler/repos/linux-yocto-3.10;protocol=file;nocheckout=1;branch=${KBRANCH},${KMETA};name=machine,meta"
+SRC_URI = "git://git@github.com/lsigithub/lsi_axxia_yocto_3.10.git;protocol=ssh;nocheckout=1;branch=${KBRANCH},${KMETA};name=machine,meta"
+
+#SRC_URI = "git:///home/pbutler/repos/linux-yocto-3.10;protocol=file;nocheckout=1;branch=${KBRANCH},${KMETA};name=machine,meta"
 
 PR = "r0"
 PV = "${LINUX_VERSION}+12345"
-- 
1.8.1.4



More information about the meta-lsi mailing list