[meta-freescale] [3rdparty][pyro][PATCH] u-boot-script-gateworks-imx: fix bootscript source

Jean-François Têtu jean-francois.tetu at savoirfairelinux.com
Thu Sep 6 11:49:07 PDT 2018


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 <jean-francois.tetu at savoirfairelinux.com>
---
 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



More information about the meta-freescale mailing list