[meta-freescale] [meta-fsl-arm-extra][PATCH 2/3] u-boot-script-boundary: Add recipe to deploy the boot scripts

Otavio Salvador otavio at ossystems.com.br
Mon Dec 10 08:06:37 PST 2012


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 at ossystems.com.br>
---
 recipes-bsp/u-boot/u-boot-script-boundary_git.bb |   37 ++++++++++++++++++++++
 1 file changed, 37 insertions(+)
 create mode 100644 recipes-bsp/u-boot/u-boot-script-boundary_git.bb

diff --git a/recipes-bsp/u-boot/u-boot-script-boundary_git.bb b/recipes-bsp/u-boot/u-boot-script-boundary_git.bb
new file mode 100644
index 0000000..6b2591a
--- /dev/null
+++ b/recipes-bsp/u-boot/u-boot-script-boundary_git.bb
@@ -0,0 +1,37 @@
+LICENSE = "GPLv2+"
+LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb"
+COMPATIBLE_MACHINE = "(imx6qsabrelite|nitrogen6x)"
+
+PV = "v2013.01+git${SRCPV}"
+
+SRCREV = "d6b05d35b8b29392e71fdd8fa43d5cb8bd4fe276"
+SRC_URI = "git://github.com/boundarydevices/u-boot-imx6.git"
+
+S = "${WORKDIR}/git"
+
+inherit deploy
+
+do_compile () {
+	:
+}
+
+do_install () {
+	:
+}
+
+do_deploy () {
+    install -d ${DEPLOYDIR}
+    install ${S}/board/boundary/nitrogen6x/6x_bootscript.txt \
+            ${DEPLOYDIR}/6x_bootscript-${MACHINE}-${PV}-${PR}.txt
+    install ${S}/board/boundary/nitrogen6x/6x_upgrade.txt \
+            ${DEPLOYDIR}/6x_upgrade-${MACHINE}-${PV}-${PR}.txt
+
+    cd ${DEPLOYDIR}
+    rm -f 6x_bootscript-${MACHINE}.txt 6x_upgrade-${MACHINE}.txt
+    ln -sf 6x_bootscript-${MACHINE}-${PV}-${PR}.txt 6x_bootscript-${MACHINE}.txt
+    ln -sf 6x_upgrade-${MACHINE}-${PV}-${PR}.txt 6x_upgrade-${MACHINE}.txt
+}
+
+addtask deploy before do_build after do_compile
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
-- 
1.7.10.4




More information about the meta-freescale mailing list