summaryrefslogtreecommitdiffstats
path: root/recipes-kernel
diff options
context:
space:
mode:
authorCalifornia Sullivan <california.l.sullivan@intel.com>2018-04-04 22:32:10 (GMT)
committerCalifornia Sullivan <california.l.sullivan@intel.com>2018-04-06 19:07:49 (GMT)
commit9e417c71d0236ec4484712d8f090757aef562e6a (patch)
treece3d4374e56965cff3ac3561769c08820ab1dbf8 /recipes-kernel
parent39e15daae87668115b092bfbd6033b5cb8d72864 (diff)
downloadmeta-intel-9e417c71d0236ec4484712d8f090757aef562e6a.tar.gz
recipes-kernel/linux: add meta-intel-compat-kernel.inc file
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.sullivan@intel.com>
Diffstat (limited to 'recipes-kernel')
-rw-r--r--recipes-kernel/linux/meta-intel-compat-kernel.inc13
1 files changed, 13 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 0000000..be5056c
--- /dev/null
+++ b/recipes-kernel/linux/meta-intel-compat-kernel.inc
@@ -0,0 +1,13 @@
1# These are variables that should be added to any
2# kernel compatible with meta-intel
3
4KERNEL_FEATURES_INTEL_COMMON ?= ""
5
6COMPATIBLE_MACHINE_intel-x86-common = "${MACHINE}"
7KERNEL_FEATURES_intel-x86-common = "${KERNEL_FEATURES_INTEL_COMMON}"
8
9KMACHINE_corei7-64-intel-common = "intel-corei7-64"
10KMACHINE_core2-32-intel-common = "intel-core2-32"
11
12INTEL_COMMON_AUTOLOAD ?= " uio iwlwifi i915"
13KERNEL_MODULE_AUTOLOAD_intel-x86-common = " ${INTEL_COMMON_AUTOLOAD}"