meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-script-gateworks-imx.bb
Vinicius Aquino d57becc70c u-boot-script-gateworks-imx.bb: Fix license checksum
GPL-3.0 was renamed to GPL-3.0-only by commit 2456f523 of oe-core

Signed-off-by: Vinicius Aquino <vinicius.aquino@ossystems.com.br>
2021-10-28 09:02:58 -03:00

31 lines
794 B
BlitzBasic

LICENSE = "GPLv3"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-3.0-only;md5=c79ff39f19dfec6d293b95dea7b07891"
DEPENDS = "u-boot-mkimage-native"
SRC_URI = "file://6x_bootscript-yocto.txt"
DESTDIR = "/boot"
S = "${WORKDIR}"
do_compile() {
bootscript="${WORKDIR}/6x_bootscript-yocto.txt"
echo "bootscript == $bootscript"
uboot-mkimage -A arm -O linux -T script -C none -a 0 -e 0 \
-n "boot script" -d $bootscript \
6x_bootscript
}
do_install() {
install -d ${D}/${DESTDIR}
install ${S}/6x_bootscript ${D}${DESTDIR}/6x_bootscript-${MACHINE}-${PV}-${PR}
cd ${D}${DESTDIR}
ln -sf 6x_bootscript-${MACHINE}-${PV}-${PR} 6x_bootscript-${MACHINE}
}
FILES:${PN} = "${DESTDIR}/*"
PACKAGE_ARCH = "${MACHINE_ARCH}"
COMPATIBLE_MACHINE = "(ventana)"