These are common settings for any meta-intel compatible kernel. It sets
things like COMPATIBLE_MACHINE, default module autoload settings, the
correct KMACHINE for the chosen MACHINE, and adds any KERNEL_FEATURES
that have been added to KERNEL_FEATURES_INTEL_COMMON.

Signed-off-by: California Sullivan <california.l.sulli...@intel.com>
---
 recipes-kernel/linux/meta-intel-compat-kernel.inc | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 recipes-kernel/linux/meta-intel-compat-kernel.inc

diff --git a/recipes-kernel/linux/meta-intel-compat-kernel.inc 
b/recipes-kernel/linux/meta-intel-compat-kernel.inc
new file mode 100644
index 00000000..be5056c2
--- /dev/null
+++ b/recipes-kernel/linux/meta-intel-compat-kernel.inc
@@ -0,0 +1,13 @@
+# These are variables that should be added to any
+# kernel compatible with meta-intel
+
+KERNEL_FEATURES_INTEL_COMMON ?= ""
+
+COMPATIBLE_MACHINE_intel-x86-common = "${MACHINE}"
+KERNEL_FEATURES_intel-x86-common = "${KERNEL_FEATURES_INTEL_COMMON}"
+
+KMACHINE_corei7-64-intel-common = "intel-corei7-64"
+KMACHINE_core2-32-intel-common = "intel-core2-32"
+
+INTEL_COMMON_AUTOLOAD ?= " uio iwlwifi i915"
+KERNEL_MODULE_AUTOLOAD_intel-x86-common = " ${INTEL_COMMON_AUTOLOAD}"
-- 
2.14.3

-- 
_______________________________________________
meta-intel mailing list
meta-intel@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-intel

Reply via email to