diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2020-04-30 20:34:11 +0200 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2020-05-07 10:50:23 +0200 |
commit | 363288efc5d559b2a97da02a16f796a795af5215 (patch) | |
tree | 26b086be9dfb64de8ff98628372d9823afc3a503 /recipes-kernel/linux/linux-toradex-mainline_5.4.bb | |
parent | 7ed9958daea91fa3116132b5788495caa18db51d (diff) |
linux-toradex-mainline: allow to build with rt-patch applied
With preempt-rt in overrides, the recipe now builds an RT kernel.
i.e.:
- downloads the rt patch as specified in SRC_URI and applies it
- uses the provided defconfig but modifies the configuration to use
PREEMPT_RT.
Related-to: ELB-2631
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'recipes-kernel/linux/linux-toradex-mainline_5.4.bb')
-rw-r--r-- | recipes-kernel/linux/linux-toradex-mainline_5.4.bb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-toradex-mainline_5.4.bb b/recipes-kernel/linux/linux-toradex-mainline_5.4.bb index 0424251..3121aac 100644 --- a/recipes-kernel/linux/linux-toradex-mainline_5.4.bb +++ b/recipes-kernel/linux/linux-toradex-mainline_5.4.bb @@ -13,3 +13,9 @@ require recipes-kernel/linux/linux-toradex-mainline.inc SRC_URI += " \ file://defconfig \ " + +SRC_URI_append_preempt-rt = " \ + ${KERNELORG_MIRROR}/linux/kernel/projects/rt/5.4/older/patch-5.4.34-rt21.patch.xz;name=rt-patch \ +" +SRC_URI[rt-patch.md5sum] = "0b11e1509cb4095b52a27fc0dc4087f8" +SRC_URI[rt-patch.sha256sum] = "e4e73861fb95e326f3c6aafa9746906fa33d9ee5eeb8ad538745a4ea4dd1f0dd" |