[dunfell/master PATCH] ti-rtos-firmware: Update PATH to include ti-sci-fw


Lokesh Vutla
 

From: Yogesh Siraswar <yogeshs@ti.com>

Build is failing for ti-rtos-firmware when ARAGO_BRAND = "mainline"
with below error:
"ERROR: ti-rtos-firmware-08.00.00.32-r0.0 do_fetch: Fetcher failure:
Unable to find file file://0001-Revert-soc-am64x-Makefile-Move-the-
SPL-Load-address-.patch;patchdir=../imggen anywhere."

This is because the mentioned patch is not present in the current path.
Fix this by updating the path to include ti-sci-fw

Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
---
conf/layer.conf | 1 +
recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb | 1 +
2 files changed, 2 insertions(+)

diff --git a/conf/layer.conf b/conf/layer.conf
index 26a42f7f..c37d6bae 100644
--- a/conf/layer.conf
+++ b/conf/layer.conf
@@ -1,5 +1,6 @@
# We have a conf and classes directory, append to BBPATH
BBPATH .= ":${LAYERDIR}"
+METATIBASE := '${@os.path.normpath("${LAYERDIR}/")}'

# We have a recipes directory, add to BBFILES
BBFILES += "${LAYERDIR}/recipes*/*/*.bb ${LAYERDIR}/recipes*/*/*.bbappend"
diff --git a/recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb b/recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb
index 198426ed..43de1ec2 100644
--- a/recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb
+++ b/recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb
@@ -18,6 +18,7 @@ PLAT_SFX_j7200-evm = "j7200"
PLAT_SFX_am65xx = "am65xx"
PLAT_SFX_am64xx = "am64xx"

+FILESEXTRAPATHS_prepend := "${METATIBASE}/recipes-bsp/ti-sci-fw/files/:"
require recipes-bsp/ti-sci-fw/ti-sci-fw.inc

CORESDK_RTOS_VERSION ?= "08.00.00.26"
--
2.30.0

Join meta-ti@lists.yoctoproject.org to automatically receive all group messages.