summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2019-09-26 19:24:21 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2019-09-26 19:28:26 +0200
commitf2a1a7095ba04581b2a80811743eff517ca8c7c0 (patch)
tree08c0a5501af05c6b74f44ef403e9cabf5c499cdf
parenta71be9fdcfe49daba4b416e41a39b312dfa7519b (diff)
linux-toradex-rt: provide alternate download location
The RT project moves the patches into an 'older' directory once superseeded by a newer patch. Provide both download paths to cope with the changing location. While at it use the OE maintained KERNELORG_MIRROR variable to specify the path. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
-rw-r--r--recipes-kernel/linux/linux-toradex-rt_4.14-2.0.x.bb5
1 files changed, 4 insertions, 1 deletions
diff --git a/recipes-kernel/linux/linux-toradex-rt_4.14-2.0.x.bb b/recipes-kernel/linux/linux-toradex-rt_4.14-2.0.x.bb
index 6a45bee..f69e1e2 100644
--- a/recipes-kernel/linux/linux-toradex-rt_4.14-2.0.x.bb
+++ b/recipes-kernel/linux/linux-toradex-rt_4.14-2.0.x.bb
@@ -3,8 +3,11 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/linux-toradex-rt-4.14-2.0.x:"
SUMMARY = "Real-Time Linux kernel for Toradex Freescale i.MX based modules"
+# patches get moved into the 'older' directory when superseeded, so provide
+# both possible storage locations.
+MIRRORS += "${KERNELORG_MIRROR}/linux/kernel/projects/rt/4.14/older/ ${KERNELORG_MIRROR}/linux/kernel/projects/rt/4.14/"
SRC_URI += " \
- https://cdn.kernel.org/pub/linux/kernel/projects/rt/4.14/patch-4.14.126-rt62.patch.xz;name=rt-patch \
+ ${KERNELORG_MIRROR}/linux/kernel/projects/rt/4.14/older/patch-4.14.126-rt62.patch.xz;name=rt-patch \
"
SRC_URI[rt-patch.md5sum] = "47f2bb663112711d7270902e7e42cd16"