From: Rahul Saxena <rahul.sax...@intel.com>

Modify kernel recipes to enable pvr kernel patches and to include
additional Kernel config files for pvr driver

Signed-off-by: Rahul Saxena <rahul.sax...@.intel.com>
---
 .../linux/linux-yocto-rt_3.0.bbappend              |   13 ++++++++++++-
 .../recipes-kernel/linux/linux-yocto_3.0.bbappend  |   15 +++++++++++----
 2 files changed, 23 insertions(+), 5 deletions(-)

diff --git a/meta-cedartrail/recipes-kernel/linux/linux-yocto-rt_3.0.bbappend 
b/meta-cedartrail/recipes-kernel/linux/linux-yocto-rt_3.0.bbappend
index 3978951..828e6fd 100755
--- a/meta-cedartrail/recipes-kernel/linux/linux-yocto-rt_3.0.bbappend
+++ b/meta-cedartrail/recipes-kernel/linux/linux-yocto-rt_3.0.bbappend
@@ -2,10 +2,21 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 COMPATIBLE_MACHINE_cedartrail = "cedartrail"
 KMACHINE_cedartrail  = "cedartrail"
 
-# The Cedarview processors have hyperthreading and includes dual-core versions
+COMPATIBLE_MACHINE_cedartrail-nopvr = "cedartrail"
+KMACHINE_cedartrail-nopvr  = "cedartrail"
+KERNEL_FEATURES_append_cedartrail-nopvr += " cfg/smp.scc"
+
+COMPATIBLE_MACHINE_cedartrail = "cedartrail"
+KMACHINE_cedartrail  = "cedartrail"
 KERNEL_FEATURES_append_cedartrail += " cfg/smp.scc"
+KERNEL_FEATURES_append_cedartrail += " cfg/drm-cdvpvr.scc"
+KERNEL_FEATURES_append_cedartrail += " bsp/cedartrail/cedartrail-pvr-merge.scc"
 
 # Update the following to use a different BSP branch or meta SRCREV
+#KBRANCH_cedartrail-nopvr = "yocto/standard/preempt-rt/base"
+#SRCREV_machine_pn-linux-yocto-rt_cedartrail-nopvr ?= XXXX
+#SRCREV_meta_pn-linux-yocto-rt_cedartrail-nopvr ?= XXXX
+
 #KBRANCH_cedartrail  = "yocto/standard/preempt-rt/base"
 #SRCREV_machine_pn-linux-yocto-rt_cedartrail ?= XXXX
 #SRCREV_meta_pn-linux-yocto-rt_cedartrail ?= XXXX
diff --git a/meta-cedartrail/recipes-kernel/linux/linux-yocto_3.0.bbappend 
b/meta-cedartrail/recipes-kernel/linux/linux-yocto_3.0.bbappend
index 858db15..14c0b9d 100755
--- a/meta-cedartrail/recipes-kernel/linux/linux-yocto_3.0.bbappend
+++ b/meta-cedartrail/recipes-kernel/linux/linux-yocto_3.0.bbappend
@@ -1,10 +1,17 @@
 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 
+COMPATIBLE_MACHINE_cedartrail-nopvr = "cedartrail"
+KMACHINE_cedartrail-nopvr  = "yocto/standard/cedartrail"
+KERNEL_FEATURES_append_cedartrail-nopvr += " cfg/smp.scc"
+
 COMPATIBLE_MACHINE_cedartrail = "cedartrail"
 KMACHINE_cedartrail  = "yocto/standard/cedartrail"
-
-# The Cedarview processors have hyperthreading and includes dual-core versions
 KERNEL_FEATURES_append_cedartrail += " cfg/smp.scc"
+KERNEL_FEATURES_append_cedartrail += " cfg/drm-cdvpvr.scc"
+KERNEL_FEATURES_append_cedartrail += " bsp/cedartrail/cedartrail-pvr-merge.scc"
+
+SRCREV_machine_pn-linux-yocto_cedartrail ?= 
"5746120ee0afefd1e28400bea4b74f285bd5e59a"
+SRCREV_meta_pn-linux-yocto_cedartrail ?= 
"a4ac64fe873f08ef718e2849b88914725dc99c1c"
 
-SRCREV_machine_pn-linux-yocto_cedartrail ?= 
"f389d310965a56091f688b28ea8be6d9cbb7fbbe"
-SRCREV_meta_pn-linux-yocto_cedartrail ?= 
"04a52a32cbdf0972033b97b83eaa83eb275dfdc9"
+SRCREV_machine_pn-linux-yocto_cedartrail-nopvr ?= 
"5746120ee0afefd1e28400bea4b74f285bd5e59a"
+SRCREV_meta_pn-linux-yocto_cedartrail-nopvr ?= 
"d588bdafc0d9b4d2386144b7d76a1d379e2d16c0"
-- 
1.7.4.1

_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to