mirror of
https://github.com/Freescale/meta-freescale-3rdparty.git
synced 2025-07-19 12:09:01 +02:00

The recipe deploys the scripts used by Boundary Devices to detect and choose video output, load kernel and etc... Change-Id: Ic4685c60ba1470a1548629e294ea8aa48473cd0e Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
48 lines
1.6 KiB
BlitzBasic
48 lines
1.6 KiB
BlitzBasic
LICENSE = "GPLv2+"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb"
|
|
COMPATIBLE_MACHINE = "(imx6qsabrelite|nitrogen6x)"
|
|
DEPENDS = "u-boot-mkimage-native"
|
|
|
|
PV = "v2013.01+git${SRCPV}"
|
|
|
|
SRCREV = "d6b05d35b8b29392e71fdd8fa43d5cb8bd4fe276"
|
|
SRC_URI = "git://github.com/boundarydevices/u-boot-imx6.git \
|
|
file://nitrogen6x-bootscript-modify-for-use-with-the-Yocto.patch"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
inherit deploy
|
|
|
|
do_mkimage () {
|
|
uboot-mkimage -A arm -O linux -T script -C none -a 0 -e 0 \
|
|
-n "boot script" -d board/boundary/${MACHINE}/6x_bootscript.txt \
|
|
board/boundary/${MACHINE}/6x_bootscript
|
|
|
|
uboot-mkimage -A arm -O linux -T script -C none -a 0 -e 0 \
|
|
-n "upgrade script" -d board/boundary/${MACHINE}/6x_upgrade.txt \
|
|
board/boundary/${MACHINE}/6x_upgrade
|
|
}
|
|
|
|
addtask mkimage after do_compile before do_install
|
|
|
|
do_deploy () {
|
|
install -d ${DEPLOYDIR}
|
|
install ${S}/board/boundary/${MACHINE}/6x_bootscript \
|
|
${DEPLOYDIR}/6x_bootscript-${MACHINE}-${PV}-${PR}
|
|
install ${S}/board/boundary/${MACHINE}/6x_upgrade \
|
|
${DEPLOYDIR}/6x_upgrade-${MACHINE}-${PV}-${PR}
|
|
|
|
cd ${DEPLOYDIR}
|
|
rm -f 6x_bootscript-${MACHINE} 6x_upgrade-${MACHINE}
|
|
ln -sf 6x_bootscript-${MACHINE}-${PV}-${PR} 6x_bootscript-${MACHINE}
|
|
ln -sf 6x_upgrade-${MACHINE}-${PV}-${PR} 6x_upgrade-${MACHINE}
|
|
}
|
|
|
|
addtask deploy after do_install before do_build
|
|
|
|
do_compile[noexec] = "1"
|
|
do_install[noexec] = "1"
|
|
do_populate_sysroot[noexec] = "1"
|
|
|
|
PACKAGE_ARCH = "${MACHINE_ARCH}"
|