mqxboot: Add mqxboot version 1

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@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This commit is contained in:
Stefan Agner 2015-10-28 21:36:08 -07:00 committed by Otavio Salvador
parent 5dd5be98a2
commit 98bba2472b
2 changed files with 24 additions and 0 deletions

View File

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

View File

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