diff options
| author | California Sullivan <california.l.sullivan@intel.com> | 2018-01-23 15:14:39 -0800 |
|---|---|---|
| committer | California Sullivan <california.l.sullivan@intel.com> | 2018-01-26 13:46:32 -0800 |
| commit | b08a21b5ddfcaafd54b396abec4fb02d3623d3a0 (patch) | |
| tree | 2eb18986a54cb95d3ac5d03af43f20230ada2959 /common | |
| parent | d701bae1b4ccc80ec5a3dc5eb84272183e4ad943 (diff) | |
| download | meta-intel-b08a21b5ddfcaafd54b396abec4fb02d3623d3a0.tar.gz | |
linux-intel/4.14: add preempt-rt recipe
Adds the 4.14.12 kernel with the rt10 patches applied.
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
[Fixed location]
(commit f3f1be4f5af99dd76566871fa989fabc4f6b037e upstream)
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Diffstat (limited to 'common')
| -rw-r--r-- | common/recipes-kernel/linux/linux-intel-rt_4.14.bb | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-intel-rt_4.14.bb b/common/recipes-kernel/linux/linux-intel-rt_4.14.bb new file mode 100644 index 00000000..9846ccd9 --- /dev/null +++ b/common/recipes-kernel/linux/linux-intel-rt_4.14.bb | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | require linux-intel.inc | ||
| 2 | |||
| 3 | # Skip processing of this recipe if it is not explicitly specified as the | ||
| 4 | # PREFERRED_PROVIDER for virtual/kernel. This avoids errors when trying | ||
| 5 | # to build multiple virtual/kernel providers, e.g. as dependency of | ||
| 6 | # core-image-rt-sdk, core-image-rt. | ||
| 7 | python () { | ||
| 8 | if d.getVar("PREFERRED_PROVIDER_virtual/kernel") != "linux-intel-rt": | ||
| 9 | raise bb.parse.SkipPackage("Set PREFERRED_PROVIDER_virtual/kernel to linux-intel-rt to enable it") | ||
| 10 | } | ||
| 11 | |||
| 12 | KBRANCH = "4.14/yocto/base-rt" | ||
| 13 | KMETA_BRANCH = "master" | ||
| 14 | |||
| 15 | # Fix for 32-bit perf issue. Remove when patch is backported to 4.14. | ||
| 16 | SRC_URI_append = " file://0001-perf-x86-32-explicitly-include-errno.h.patch" | ||
| 17 | |||
| 18 | DEPENDS += "elfutils-native openssl-native util-linux-native" | ||
| 19 | |||
| 20 | LINUX_VERSION ?= "4.14.12" | ||
| 21 | SRCREV_machine ?= "e6c754497fe1b52ade748218f2491a2c99209292" | ||
| 22 | SRCREV_meta ?= "ee7e849882aa2f0947dd56a60ba5b0d2eec558f2" | ||
| 23 | |||
| 24 | LINUX_KERNEL_TYPE = "preempt-rt" | ||
