summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2017-02-06 21:04:26 (GMT)
committerCalifornia Sullivan <california.l.sullivan@intel.com>2017-02-09 00:28:14 (GMT)
commitfc0d7cf893d2d7e14c0405cfb00128de33cada9c (patch)
tree7ee1c00cb630fafdc3e3adb8d26a173116a1af0f
parent9cf334e096a013efa30b73c1e2a4b97d23a4dde3 (diff)
downloadmeta-intel-fc0d7cf893d2d7e14c0405cfb00128de33cada9c.tar.gz
linux-intel: Add the linux-intel kernel recipe
This introduces the linux-intel kernel recipe for 4.9, this kernel tree is a prodcution tree that contains enabling backports for Intel CPU and Hardware that may be up-streamed in a newer kernel version. Additional information can be found in this associated wiki page: https://github.com/01org/linux-intel-4.9/wiki Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
-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 0000000..ededd09
--- /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)}"