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>
This commit is contained in:
California Sullivan 2018-04-04 15:32:10 -07:00
parent 39e15daae8
commit 9e417c71d0

View File

@ -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}"