diff options
author | Ming Liu <ming.liu@toradex.com> | 2020-10-01 10:47:12 +0200 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2020-10-17 19:04:54 +0200 |
commit | 0ff302f214969262b093f862d1c579e570b93e28 (patch) | |
tree | 8eb59148768397c165902dddfd3492d5b98c7481 /recipes-kernel/linux/linux-toradex-5.4-2.1.x | |
parent | 934f13d4bda72c88527a0ce642e9142f5493c676 (diff) |
linux-toradex: add preempt-rt configs as scc file
Since now we are inheriting kernel-yocto.bbclass, let's change to add
preempt-rt as scc file.
Also avoid setting KERNEL_FEATURES to empty, it could be used in
torizoncore layer.
Related-to: ELB-3171
Signed-off-by: Ming Liu <ming.liu@toradex.com>
(cherry picked from commit c37762740e37259e47269020bb8494f2325811bc)
Diffstat (limited to 'recipes-kernel/linux/linux-toradex-5.4-2.1.x')
-rw-r--r-- | recipes-kernel/linux/linux-toradex-5.4-2.1.x/preempt-rt.cfg | 4 | ||||
-rw-r--r-- | recipes-kernel/linux/linux-toradex-5.4-2.1.x/preempt-rt.scc | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-toradex-5.4-2.1.x/preempt-rt.cfg b/recipes-kernel/linux/linux-toradex-5.4-2.1.x/preempt-rt.cfg new file mode 100644 index 0000000..93e05af --- /dev/null +++ b/recipes-kernel/linux/linux-toradex-5.4-2.1.x/preempt-rt.cfg @@ -0,0 +1,4 @@ +# CONFIG_PREEMPT_NONE is not set +# CONFIG_PREEMPT_VOLUNTARY is not set +# CONFIG_PREEMPT is not set +CONFIG_PREEMPT_RT=y diff --git a/recipes-kernel/linux/linux-toradex-5.4-2.1.x/preempt-rt.scc b/recipes-kernel/linux/linux-toradex-5.4-2.1.x/preempt-rt.scc new file mode 100644 index 0000000..82d27dc --- /dev/null +++ b/recipes-kernel/linux/linux-toradex-5.4-2.1.x/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 |