summaryrefslogtreecommitdiff
path: root/recipes-kernel/linux/linux-toradex-mainline-git/preempt-rt.scc
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2021-10-02 16:29:27 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2021-12-16 19:20:43 +0100
commit268c0582b879c8c0e7e57c8a5719524b678ff9f3 (patch)
treef1f566e9967fe4142e9e1aace800527d07a203a5 /recipes-kernel/linux/linux-toradex-mainline-git/preempt-rt.scc
parentd049426c8c76c92716aedec75e008157707c4ac3 (diff)
linux-toradex-mainline: switch to use kernel.org
Currently this builds kernel 5.16.0-RC5 from kernel.org. With the override `use-head-next` set, the HEAD of the master branch is built instead. For the rt patches a git repository from kernel.org with a maintained branch which regularly merges in the stable/master git trees is used. This changes from using defconfigs provided from the kernel sources to use defconfigs which the recipe provides. Get the initial defconfig from the kernel sources as of commit 2585cf9dfaad Linux 5.16-rc5. "imx_v6_v7_defconfig" for i.MX 32 bit SoC "tegra_defconfig" for TK1 "defconfig" for i.MX 64 bit SoC Run them through 'make *defconfig; make savedefconfig' first. Kernel 5.16 introduced that the device tree files are validated if built in the way OE builds them. Port the solution to make this from the linux-yocto-dev.bb recipe, commit c12a91827e88 ("linux-yocto-dev: introduce dt-validation PACKAGECONFIG") which is cleaner than reverting the commit that introduced the validation. Related-to: ELB-4094 Related-to: ELB-4095 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'recipes-kernel/linux/linux-toradex-mainline-git/preempt-rt.scc')
-rw-r--r--recipes-kernel/linux/linux-toradex-mainline-git/preempt-rt.scc4
1 files changed, 4 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-toradex-mainline-git/preempt-rt.scc b/recipes-kernel/linux/linux-toradex-mainline-git/preempt-rt.scc
new file mode 100644
index 0000000..82d27dc
--- /dev/null
+++ b/recipes-kernel/linux/linux-toradex-mainline-git/preempt-rt.scc
@@ -0,0 +1,4 @@
+define KFEATURE_DESCRIPTION "Enable Features needed by preempt-rt"
+define KFEATURE_COMPATIBILITY board
+
+kconf non-hardware preempt-rt.cfg