[meta-intel] [PATCH 1/2] linux-intel: Seperate SRC_URI into Kernel and Config

Saul Wold sgw at linux.intel.com
Fri Aug 25 14:27:09 PDT 2017


This allows for setting a different kernel config URI without having
to completely reset the main SRC_URI for the kernel also.

Signed-off-by: Saul Wold <sgw at linux.intel.com>
---
 common/recipes-kernel/linux/linux-intel.inc | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/common/recipes-kernel/linux/linux-intel.inc b/common/recipes-kernel/linux/linux-intel.inc
index f1e4eaf..5c4afa0 100644
--- a/common/recipes-kernel/linux/linux-intel.inc
+++ b/common/recipes-kernel/linux/linux-intel.inc
@@ -2,8 +2,13 @@ require recipes-kernel/linux/linux-yocto.inc
 
 FILESEXTRAPATHS_prepend := "${THISDIR}/linux-intel:"
 
-SRC_URI = "git://github.com/01org/linux-intel-4.9.git;protocol=https;name=machine;branch=${KBRANCH}; \
-           git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.9;destsuffix=${KMETA}"
+KERNEL_CONFIG_URI ?= " \
+                     git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.9;destsuffix=${KMETA} \
+	           "
+SRC_URI = " \
+           git://github.com/01org/linux-intel-4.9.git;protocol=https;name=machine;branch=${KBRANCH}; \
+           ${KERNEL_CONFIG_URI} \
+	  "
 
 SRC_URI_append_core2-32-intel-common = " file://disable_skylake_sound.cfg"
 
-- 
2.7.5



More information about the meta-intel mailing list