summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2024-04-29 16:38:38 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2024-04-29 16:46:47 +0200
commit7bae112aa53db9a1f2f02d333b9528ce97f09404 (patch)
treead32a59fdd529b8303b626f72222dc4b3f5f0f95
parent563233bb3047429d4fb4561036a40e4a40e47d97 (diff)
linux-toradex-upstream_6.6: fix filesextrapaths
The immediate evaluation of ${PV} fails here and leads to a not existing extra search path entry. Thus linux-toradex-upstream-6.6 is searched after linux-toradex-upstream and thus files which can be found under both directories are taken from linux-toradex-upstream. Fix that by not relying on ${PN} or ${PV} and giving the verbatim directory name. That also allows to remove setting FILESEXTRAPATHS in the linux rt recipe. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
-rw-r--r--recipes-kernel/linux/linux-toradex-upstream-rt_6.6.bb2
-rw-r--r--recipes-kernel/linux/linux-toradex-upstream_6.6.bb2
2 files changed, 1 insertions, 3 deletions
diff --git a/recipes-kernel/linux/linux-toradex-upstream-rt_6.6.bb b/recipes-kernel/linux/linux-toradex-upstream-rt_6.6.bb
index 58f5a0e..7380678 100644
--- a/recipes-kernel/linux/linux-toradex-upstream-rt_6.6.bb
+++ b/recipes-kernel/linux/linux-toradex-upstream-rt_6.6.bb
@@ -1,8 +1,6 @@
LINUX_VERSION ?= "6.6.20-rt25"
require recipes-kernel/linux/linux-toradex-upstream_6.6.bb
-FILESEXTRAPATHS:prepend := "${THISDIR}/linux-toradex-upstream-6.6:"
-
SUMMARY = "Toradex mainline real-time Linux kernel"
# To build the RT kernel we use the RT kernel git repo rather than applying
# the RT patch on top of a vanilla kernel.
diff --git a/recipes-kernel/linux/linux-toradex-upstream_6.6.bb b/recipes-kernel/linux/linux-toradex-upstream_6.6.bb
index 1704c14..01b985a 100644
--- a/recipes-kernel/linux/linux-toradex-upstream_6.6.bb
+++ b/recipes-kernel/linux/linux-toradex-upstream_6.6.bb
@@ -1,6 +1,6 @@
require linux-toradex-upstream.inc
-FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}-${PV}:"
+FILESEXTRAPATHS:prepend := "${THISDIR}/linux-toradex-upstream-6.6:"
LINUX_REPO = "git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"