summaryrefslogtreecommitdiff
path: root/recipes-kernel/linux/linux-toradex-mainline.inc
diff options
context:
space:
mode:
authorMing Liu <ming.liu@toradex.com>2020-10-01 10:51:23 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2020-10-17 18:43:43 +0200
commit9174282925164acaa3c5cf9c45d1ff20c6a4d75c (patch)
tree468dcdad9dfc475f37bb800ac42422ab077e77bf /recipes-kernel/linux/linux-toradex-mainline.inc
parent0dc8e4b651a9d777b330630f979128fc483753ea (diff)
linux-toradex-mainline: add preempt-rt configs as scc file
Change to add preempt-rt configs as scc file by including linux-imx.inc, 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 6737ce79c453953be6faf02519d9fc920dd58bb9)
Diffstat (limited to 'recipes-kernel/linux/linux-toradex-mainline.inc')
-rw-r--r--recipes-kernel/linux/linux-toradex-mainline.inc11
1 files changed, 1 insertions, 10 deletions
diff --git a/recipes-kernel/linux/linux-toradex-mainline.inc b/recipes-kernel/linux/linux-toradex-mainline.inc
index 18e87bb..31ccfe6 100644
--- a/recipes-kernel/linux/linux-toradex-mainline.inc
+++ b/recipes-kernel/linux/linux-toradex-mainline.inc
@@ -4,7 +4,7 @@ LICENSE = "GPLv2"
LIC_FILES_CHKSUM ?= "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"
-inherit kernel toradex-kernel-config toradex-kernel-localversion
+inherit kernel-yocto kernel toradex-kernel-localversion
SRC_URI = " \
git://git.toradex.com/linux-toradex.git;protocol=https;branch=${KBRANCH};name=machine \
@@ -14,15 +14,6 @@ S = "${WORKDIR}/git"
DEPENDS += "coreutils-native lzop-native"
-kernel_do_configure_append_preempt-rt() {
- # switch to use PREEMPT_RT
- kernel_configure_variable PREEMPT_NONE n
- kernel_configure_variable PREEMPT_VOLUNTARY n
- kernel_configure_variable PREEMPT n
- kernel_configure_variable PREEMPT_RT y
- oe_runmake olddefconfig
-}
-
# Additional file deployed by recent mainline kernels
FILES_${KERNEL_PACKAGE_NAME}-base += "${nonarch_base_libdir}/modules/${KERNEL_VERSION}/modules.builtin.modinfo"