From 9e417c71d0236ec4484712d8f090757aef562e6a Mon Sep 17 00:00:00 2001 From: California Sullivan Date: Wed, 4 Apr 2018 15:32:10 -0700 Subject: 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 --- 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 (limited to 'recipes-kernel') 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}" -- cgit v1.2.3-54-g00ecf