[yocto] [PATCH 3/7] n450: Update to linux-yocto 3.2

Darren Hart dvhart at linux.intel.com
Tue May 1 15:12:47 PDT 2012


Update the PREFERRED_VERSION to 3.2.
Drop cfg/smp.scc as this is now included in common-pc.

Signed-off-by: Darren Hart <dvhart at linux.intel.com>
---
 meta-n450/conf/machine/n450.conf                   |    3 +++
 .../linux/linux-yocto-rt_3.2.bbappend              |   10 ++++++++++
 .../recipes-kernel/linux/linux-yocto_3.2.bbappend  |    7 +++++++
 3 files changed, 20 insertions(+), 0 deletions(-)
 create mode 100644 meta-n450/recipes-kernel/linux/linux-yocto-rt_3.2.bbappend
 create mode 100644 meta-n450/recipes-kernel/linux/linux-yocto_3.2.bbappend

diff --git a/meta-n450/conf/machine/n450.conf b/meta-n450/conf/machine/n450.conf
index dac63ed..7ce4cc7 100644
--- a/meta-n450/conf/machine/n450.conf
+++ b/meta-n450/conf/machine/n450.conf
@@ -3,6 +3,9 @@
 
 #@DESCRIPTION: Machine configuration for Intel 1-N450 based systems
 
+PREFERRED_PROVIDER-virtual/kernel ?= "linux-yocto"
+PREFERRED_VERSION_linux-yocto ?= "3.2%"
+
 require conf/machine/include/tune-atom.inc
 require conf/machine/include/ia32-base.inc
 
diff --git a/meta-n450/recipes-kernel/linux/linux-yocto-rt_3.2.bbappend b/meta-n450/recipes-kernel/linux/linux-yocto-rt_3.2.bbappend
new file mode 100644
index 0000000..1c7fef9
--- /dev/null
+++ b/meta-n450/recipes-kernel/linux/linux-yocto-rt_3.2.bbappend
@@ -0,0 +1,10 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+COMPATIBLE_MACHINE_n450 = "n450"
+KMACHINE_n450 = "atom-pc"
+
+KERNEL_FEATURES_append_n450 += " cfg/smp.scc"
+
+# Update the following to use a different BSP branch or meta SRCREV
+#KBRANCH_n450 = "yocto/standard/preempt-rt/base"
+#SRCREV_machine_pn-linux-yocto-rt_n450 ?= XXXX
+#SRCREV_meta_pn-linux-yocto-rt_n450 ?= XXXX
diff --git a/meta-n450/recipes-kernel/linux/linux-yocto_3.2.bbappend b/meta-n450/recipes-kernel/linux/linux-yocto_3.2.bbappend
new file mode 100644
index 0000000..f02c475
--- /dev/null
+++ b/meta-n450/recipes-kernel/linux/linux-yocto_3.2.bbappend
@@ -0,0 +1,7 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+COMPATIBLE_MACHINE_n450 = "n450"
+KMACHINE_n450  = "atom-pc"
+KBRANCH_n450 = "standard/default/common-pc/base"
+
+#SRCREV_machine_pn-linux-yocto_n450 = XXXX
+#SRCREV_meta_pn-linux-yocto_n450 ?= XXXX
-- 
1.7.7.6




More information about the yocto mailing list