[meta-freescale] [meta-fsl-arm-extra][PATCH 2/2] mqxboot: Add mqxboot version 1

Stefan Agner stefan at agner.ch
Wed Oct 28 21:36:08 PDT 2015


From: Stefan Agner <stefan.agner at toradex.com>

Like libmcc v1, move mqxboot 1.0 to meta-fsl-arm-extra. Also add
it to the preferred version for the colibri-vf machine. The library
has a distinct name (libmcc vs. libmcc2) and hence does not need
to be selected explicitly.

Signed-off-by: Stefan Agner <stefan.agner at toradex.com>
---
Hi Otavio,

I did not add PACKAGE_ARCH to this one as I am not sure if it is a good
idea when there is a second package with the same name around. Also, I
think it should compile fine as it depends on libmcc (and libmcc v2 is
named libmcc2...)

--
Stefan

 conf/machine/colibri-vf.conf       |  1 +
 recipes-bsp/mqxboot/mqxboot_1.0.bb | 23 +++++++++++++++++++++++
 2 files changed, 24 insertions(+)
 create mode 100644 recipes-bsp/mqxboot/mqxboot_1.0.bb

diff --git a/conf/machine/colibri-vf.conf b/conf/machine/colibri-vf.conf
index 2c39b5b..917a344 100644
--- a/conf/machine/colibri-vf.conf
+++ b/conf/machine/colibri-vf.conf
@@ -20,6 +20,7 @@ PREFERRED_PROVIDER_u-boot = "u-boot-toradex"
 PREFERRED_PROVIDER_virtual/bootloader = "u-boot-toradex"
 PREFERRED_PROVIDER_virtual/kernel-module-mcc = "kernel-module-mcc-toradex"
 PREFERRED_PROVIDER_virtual/kernel-module-mcc-dev = "kernel-module-mcc-toradex"
+PREFERRED_VERSION_mqxboot = "1.0"
 
 # U-Boot NAND binary includes 0x400 padding required for NAND boot
 UBOOT_BINARY = "u-boot-nand.imx"
diff --git a/recipes-bsp/mqxboot/mqxboot_1.0.bb b/recipes-bsp/mqxboot/mqxboot_1.0.bb
new file mode 100644
index 0000000..7f11a98
--- /dev/null
+++ b/recipes-bsp/mqxboot/mqxboot_1.0.bb
@@ -0,0 +1,23 @@
+# Copyright (C) 2013 Timesys Corporation
+SUMMARY = "MQX Image loader - starts an MQX image on the M4"
+LICENSE = "GPL-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=c49712341497d0b5f2e40c30dff2af9d"
+
+DEPENDS = "virtual/kernel-module-mcc"
+
+SRC_URI = "http://repository.timesys.com/buildsources/m/mqxboot/mqxboot-${PV}/mqxboot-${PV}.tar.bz2"
+
+SRC_URI[md5sum] = "3de3c8b5f8cd6664870587d29c04c421"
+SRC_URI[sha256sum] = "c2f66ae962fe2529578d5c007e3f91a36085b714a0ea276f47bc3aea90e69699"
+
+S = "${WORKDIR}/mqxboot-${PV}"
+
+CFLAGS += "-I${STAGING_KERNEL_DIR}/include"
+
+RDEPENDS_${PN} = "virtual/kernel-module-mcc"
+
+COMPATIBLE_MACHINE = "(vf60)"
+
+do_install() {
+    oe_runmake 'DESTDIR=${D}' install
+}
-- 
2.6.2



More information about the meta-freescale mailing list