[meta-ti] Peter A. Bigot : linux-ti-staging_3.14: make kernel origin configurable

Arago Project git git at arago-project.org
Mon Sep 8 07:49:24 PDT 2014


Module: meta-ti
Branch: master
Commit: 2febbb8d357bfc7efeb6f97b4c47956d6e39d0d6
URL:    http://arago-project.org/git/meta-ti.git?a=commit;h=2febbb8d357bfc7efeb6f97b4c47956d6e39d0d6

Author: Peter A. Bigot <pab at pabigot.com>
Date:   Fri Sep  5 18:34:43 2014 +0000

linux-ti-staging_3.14: make kernel origin configurable

Using variables for KERNEL_GIT_URI and KERNEL_GIT_PROTOCOL allows layer
bbappends to specify local repositories to test of pending changes that
are not available in the official TI kernel, without requiring
duplication of config fragments specified in SRC_URI in the base recipe.

Signed-off-by: Peter A. Bigot <pab at pabigot.com>
Signed-off-by: Denys Dmytriyenko <denys at ti.com>

---

 recipes-kernel/linux/linux-ti-staging_3.14.bb |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/recipes-kernel/linux/linux-ti-staging_3.14.bb b/recipes-kernel/linux/linux-ti-staging_3.14.bb
index 45dccef..cb6086a 100644
--- a/recipes-kernel/linux/linux-ti-staging_3.14.bb
+++ b/recipes-kernel/linux/linux-ti-staging_3.14.bb
@@ -59,7 +59,9 @@ KERNEL_CONFIG_FRAGMENTS = "${KERNEL_CONFIG_DIR}/audio_display.cfg ${KERNEL_CONFI
 KERNEL_CONFIG_FRAGMENTS_append_ti33x = " ${WORKDIR}/non-smp.cfg"
 KERNEL_CONFIG_FRAGMENTS_append_ti43x = " ${WORKDIR}/non-smp.cfg"
 
-SRC_URI = "git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git;protocol=git;branch=${BRANCH} \
+KERNEL_GIT_URI = "git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git"
+KERNEL_GIT_PROTOCOL = "git"
+SRC_URI = "${KERNEL_GIT_URI};protocol=${KERNEL_GIT_PROTOCOL};branch=${BRANCH} \
            file://defconfig \
            file://non-smp.cfg \
           "



More information about the meta-ti mailing list