diff options
-rw-r--r-- | common/recipes-kernel/linux/linux-intel_4.9.bb | 43 |
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 | |||
2 | require recipes-kernel/linux/linux-yocto.inc | ||
3 | |||
4 | KBRANCH ?= "master" | ||
5 | SRCREV_machine ?= "09f886dc5a6945679ed35e6acfbc746f472f0f34" | ||
6 | SRCREV_meta ?= "6fd9dcbb3f0becf90c555a1740d21d18c331af99" | ||
7 | |||
8 | SRC_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 | |||
11 | LINUX_VERSION ?= "4.9.6" | ||
12 | |||
13 | PV = "${LINUX_VERSION}+git${SRCPV}" | ||
14 | |||
15 | KMETA = "kernel-meta" | ||
16 | KCONF_BSP_AUDIT_LEVEL = "2" | ||
17 | |||
18 | KERNEL_FEATURES_INTEL_COMMON = "" | ||
19 | |||
20 | COMPATIBLE_MACHINE_core2-32-intel-common = "${MACHINE}" | ||
21 | KMACHINE_core2-32-intel-common = "intel-core2-32" | ||
22 | KERNEL_FEATURES_append_core2-32-intel-common = "${KERNEL_FEATURES_INTEL_COMMON}" | ||
23 | |||
24 | COMPATIBLE_MACHINE_corei7-64-intel-common = "${MACHINE}" | ||
25 | KMACHINE_corei7-64-intel-common = "intel-corei7-64" | ||
26 | KERNEL_FEATURES_append_corei7-64-intel-common = "${KERNEL_FEATURES_INTEL_COMMON}" | ||
27 | |||
28 | COMPATIBLE_MACHINE_i586-nlp-32-intel-common = "${MACHINE}" | ||
29 | KMACHINE_i586-nlp-32-intel-common = "intel-quark" | ||
30 | KERNEL_FEATURES_append_i586-nlp-32-intel-common = "" | ||
31 | |||
32 | # For Crystalforest and Romley | ||
33 | KERNEL_MODULE_AUTOLOAD_append_core2-32-intel-common = " uio" | ||
34 | KERNEL_MODULE_AUTOLOAD_append_corei7-64-intel-common = " uio" | ||
35 | |||
36 | # For FRI2, NUC | ||
37 | KERNEL_MODULE_AUTOLOAD_append_core2-32-intel-common = " iwlwifi" | ||
38 | KERNEL_MODULE_AUTOLOAD_append_corei7-64-intel-common = " iwlwifi" | ||
39 | |||
40 | # Functionality flags | ||
41 | KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc" | ||
42 | KERNEL_FEATURES_append = " ${KERNEL_EXTRA_FEATURES}" | ||
43 | KERNEL_FEATURES_append = " ${@bb.utils.contains("TUNE_FEATURES", "mx32", " cfg/x32.scc", "" ,d)}" | ||