From beed0f08b50be497e3587e33c628fc4f59d8a177 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Fran=C3=A7ois=20T=C3=AAtu?= Date: Thu, 6 Sep 2018 14:49:07 -0400 Subject: [PATCH] u-boot-script-gateworks-imx: fix bootscript source MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Otavio Salvador (cherry picked from commit e7b82f00deeaddf6245e3bca22c62a1829fad14b) --- 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 \