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 <[email protected]>
---
 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

-- 
_______________________________________________
meta-intel mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-intel

Reply via email to