aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-kernel/linux/meta-intel-compat-kernel.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-kernel/linux/meta-intel-compat-kernel.inc')
-rw-r--r--recipes-kernel/linux/meta-intel-compat-kernel.inc14
1 files changed, 14 insertions, 0 deletions
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..a985925f
--- /dev/null
+++ b/recipes-kernel/linux/meta-intel-compat-kernel.inc
@@ -0,0 +1,14 @@
+# 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"
+KMACHINE_skylake-64-intel-common = "intel-corei7-64"
+
+INTEL_COMMON_AUTOLOAD ?= " uio iwlwifi i915"
+KERNEL_MODULE_AUTOLOAD_intel-x86-common = " ${INTEL_COMMON_AUTOLOAD}"