Skip to contentSkip to conversation

imx-usb-loader: add recipe

PATCH New Hector Palacios 1 participant 1 message Mar 3, 2016 Arm i.MX and Layerscape

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 .../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
recipes-core/packagegroup/nativesdk-packagegroup-sdk-host.bbappend +1 -0
index 20545062353a..bd22b9b5d375 100644
@@ -2,4 +2,5 @@ RDEPENDS_${PN} += " \
     nativesdk-elftosb \
     nativesdk-mxsldr \
     nativesdk-u-boot-mkimage \
+    nativesdk-imx-usb-loader \
 "
recipes-devtools/imx-usb-loader/imx-usb-loader_git.bb new file +19 -0
new file mode 100644
index 000000000000..6753f53219fb
@@ -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"