diff options
Diffstat (limited to 'recipes-kernel/linux/linux-fslc-imx-rt_3.14-1.1.x.bb')
| -rw-r--r-- | recipes-kernel/linux/linux-fslc-imx-rt_3.14-1.1.x.bb | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-fslc-imx-rt_3.14-1.1.x.bb b/recipes-kernel/linux/linux-fslc-imx-rt_3.14-1.1.x.bb new file mode 100644 index 000000000..0a7bd36dd --- /dev/null +++ b/recipes-kernel/linux/linux-fslc-imx-rt_3.14-1.1.x.bb | |||
| @@ -0,0 +1,31 @@ | |||
| 1 | SUMMARY = "Realtime version of the FSL Community BSP i.MX6 Linux kernel with backported features and fixes" | ||
| 2 | DESCRIPTION = "Linux kernel based on Freescale 3.14.52-1.1.0 GA release, used by FSL Community BSP in order to \ | ||
| 3 | provide support for i.MX6 based platforms and include official Linux kernel stable updates, backported \ | ||
| 4 | features and fixes coming from the vendors, kernel community or FSL Community itself. \ | ||
| 5 | In addition, this kernel has the realtime patch (PREEMPT_RT) applied." | ||
| 6 | |||
| 7 | include linux-fslc.inc | ||
| 8 | |||
| 9 | PV .= "+git${SRCPV}" | ||
| 10 | |||
| 11 | SRCBRANCH = "3.14-1.1.x-imx" | ||
| 12 | SRCREV = "327d5c9063b715c91a88655533d5e477a0afe218" | ||
| 13 | |||
| 14 | SRC_URI += "\ | ||
| 15 | https://www.kernel.org/pub/linux/kernel/projects/rt/3.14/patch-3.14.58-rt59.patch.gz;name=rt-patch1 \ | ||
| 16 | file://0001-fix-build.patch \ | ||
| 17 | file://0003-no-split-ptlocks.patch \ | ||
| 18 | file://0004-imx-sdma-channel-use-raw-spinlock.patch \ | ||
| 19 | " | ||
| 20 | |||
| 21 | SRC_URI[rt-patch1.md5sum] = "d4b380eab31878e607e92fec3e150e8f" | ||
| 22 | SRC_URI[rt-patch1.sha256sum] = "56c8a9fc6b1c11883ee40b4edc529d19cf9ba0855dd0d0878581900f51d60064" | ||
| 23 | |||
| 24 | python () { | ||
| 25 | using_builtin_driver = (d.getVar("MACHINE_USES_VIVANTE_KERNEL_DRIVER_MODULE", True) or "") != "1" | ||
| 26 | if not using_builtin_driver: | ||
| 27 | raise bb.parse.SkipPackage('You must use the builtin driver with the Linux RT patch as the external module does not yet include support for it. Set "MACHINE_USES_VIVANTE_KERNEL_DRIVER_MODULE" accordingly.') | ||
| 28 | } | ||
| 29 | |||
| 30 | |||
| 31 | COMPATIBLE_MACHINE = "(mx6|mx7)" | ||
