From 37564e6801ce82fad979b4f57151c676d80e8a6c Mon Sep 17 00:00:00 2001 From: Hector Palacios Date: Thu, 3 Mar 2016 17:29:54 +0100 Subject: imx-usb-loader: add recipe This includes into the SDK Boundary Devices i.MX/Vybrid recovery utility, a host tool which allows to boot an image via USB in serial downloader mode. It currently supports i.MX5, i.MX6, i.MX7, and Vybrid families. Signed-off-by: Hector Palacios Signed-off-by: Otavio Salvador --- .../nativesdk-packagegroup-sdk-host.bbappend | 1 + recipes-devtools/imx-usb-loader/imx-usb-loader_git.bb | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 recipes-devtools/imx-usb-loader/imx-usb-loader_git.bb diff --git a/recipes-core/packagegroup/nativesdk-packagegroup-sdk-host.bbappend b/recipes-core/packagegroup/nativesdk-packagegroup-sdk-host.bbappend index 2054506..bd22b9b 100644 --- a/recipes-core/packagegroup/nativesdk-packagegroup-sdk-host.bbappend +++ b/recipes-core/packagegroup/nativesdk-packagegroup-sdk-host.bbappend @@ -2,4 +2,5 @@ RDEPENDS_${PN} += " \ nativesdk-elftosb \ nativesdk-mxsldr \ nativesdk-u-boot-mkimage \ + nativesdk-imx-usb-loader \ " diff --git a/recipes-devtools/imx-usb-loader/imx-usb-loader_git.bb b/recipes-devtools/imx-usb-loader/imx-usb-loader_git.bb new file mode 100644 index 0000000..6753f53 --- /dev/null +++ b/recipes-devtools/imx-usb-loader/imx-usb-loader_git.bb @@ -0,0 +1,19 @@ +DESCRIPTION = "i.MX/Vybrid recovery utility" +SECTION = "devel" +LICENSE = "LGPLv2.1" +LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" + +DEPENDS = "libusb" + +SRCREV = "349286e25c3fd9b2d31b31e962340123bbc62d44" +SRC_URI = "git://github.com/boundarydevices/imx_usb_loader.git;protocol=http" + +PV = "1.0+${SRCPV}" + +S = "${WORKDIR}/git" + +do_install () { + oe_runmake DESTDIR=${D} install +} + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf