u-boot-script-gateworks-imx: fix bootscript source

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@savoirfairelinux.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit e7b82f00de)
This commit is contained in:
Jean-François Têtu 2018-09-06 14:49:07 -04:00 committed by Otavio Salvador
parent 9613dbc02c
commit 04a0a43364

View File

@ -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 \