summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--common/recipes-kernel/linux/linux-intel_4.9.bb43
1 files changed, 43 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-intel_4.9.bb b/common/recipes-kernel/linux/linux-intel_4.9.bb
new file mode 100644
index 00000000..ededd09f
--- /dev/null
+++ b/common/recipes-kernel/linux/linux-intel_4.9.bb
@@ -0,0 +1,43 @@
1
2require recipes-kernel/linux/linux-yocto.inc
3
4KBRANCH ?= "master"
5SRCREV_machine ?= "09f886dc5a6945679ed35e6acfbc746f472f0f34"
6SRCREV_meta ?= "6fd9dcbb3f0becf90c555a1740d21d18c331af99"
7
8SRC_URI = "git://github.com/01org/linux-intel-4.9.git;protocol=https;name=machine;branch=${KBRANCH}; \
9 git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.9;destsuffix=${KMETA}"
10
11LINUX_VERSION ?= "4.9.6"
12
13PV = "${LINUX_VERSION}+git${SRCPV}"
14
15KMETA = "kernel-meta"
16KCONF_BSP_AUDIT_LEVEL = "2"
17
18KERNEL_FEATURES_INTEL_COMMON = ""
19
20COMPATIBLE_MACHINE_core2-32-intel-common = "${MACHINE}"
21KMACHINE_core2-32-intel-common = "intel-core2-32"
22KERNEL_FEATURES_append_core2-32-intel-common = "${KERNEL_FEATURES_INTEL_COMMON}"
23
24COMPATIBLE_MACHINE_corei7-64-intel-common = "${MACHINE}"
25KMACHINE_corei7-64-intel-common = "intel-corei7-64"
26KERNEL_FEATURES_append_corei7-64-intel-common = "${KERNEL_FEATURES_INTEL_COMMON}"
27
28COMPATIBLE_MACHINE_i586-nlp-32-intel-common = "${MACHINE}"
29KMACHINE_i586-nlp-32-intel-common = "intel-quark"
30KERNEL_FEATURES_append_i586-nlp-32-intel-common = ""
31
32# For Crystalforest and Romley
33KERNEL_MODULE_AUTOLOAD_append_core2-32-intel-common = " uio"
34KERNEL_MODULE_AUTOLOAD_append_corei7-64-intel-common = " uio"
35
36# For FRI2, NUC
37KERNEL_MODULE_AUTOLOAD_append_core2-32-intel-common = " iwlwifi"
38KERNEL_MODULE_AUTOLOAD_append_corei7-64-intel-common = " iwlwifi"
39
40# Functionality flags
41KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc"
42KERNEL_FEATURES_append = " ${KERNEL_EXTRA_FEATURES}"
43KERNEL_FEATURES_append = " ${@bb.utils.contains("TUNE_FEATURES", "mx32", " cfg/x32.scc", "" ,d)}"