Currently, the recipe uses the script found relative to ${THISDIR}.
Using ${THISDIR} prevents other recipes from using FILESEXTRAPATHS to
overwrite the default boot script. This commit fixes this by using
${WORKDIR} instead.

Signed-off-by: Jean-François Têtu <[email protected]>
---
 recipes-bsp/u-boot/u-boot-script-gateworks-imx.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-bsp/u-boot/u-boot-script-gateworks-imx.bb 
b/recipes-bsp/u-boot/u-boot-script-gateworks-imx.bb
index 47de839..5023f37 100644
--- a/recipes-bsp/u-boot/u-boot-script-gateworks-imx.bb
+++ b/recipes-bsp/u-boot/u-boot-script-gateworks-imx.bb
@@ -8,7 +8,7 @@ DESTDIR = "/boot"
 S = "${WORKDIR}"
 
 do_compile() {
-    bootscript="${THISDIR}/u-boot-script-gateworks-imx/6x_bootscript-yocto.txt"
+    bootscript="${WORKDIR}/6x_bootscript-yocto.txt"
     echo "bootscript == $bootscript"
 
     uboot-mkimage  -A arm -O linux -T script -C none -a 0 -e 0 \
-- 
2.18.0

-- 
_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale

Reply via email to