diff options
author | Antoine Ténart <antoine.tenart@free-electrons.com> | 2015-05-01 18:15:40 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-05-02 09:47:04 +0200 |
commit | 059ab7f025c300db1d6ce175974c69444b1d478e (patch) | |
tree | 7d941dc73fb01421e9adc14fc67376038a89d041 /package/imx-usb-loader | |
parent | 0fc93e20f24d61fa459e84b7f126293d34e7cfe9 (diff) | |
download | buildroot-059ab7f025c300db1d6ce175974c69444b1d478e.tar.gz buildroot-059ab7f025c300db1d6ce175974c69444b1d478e.zip |
imx-usb-loader: new host package
This host package allows to build tools to download and execute code on
Freescale i.MX5/i.MX6 and Vybrid SoCs through the Serial Download
Protocol.
The work behind this commit was funded by ECA Group
<http://www.ecagroup.com>. ECA Group is the copyright owner of the
contributed code.
Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/imx-usb-loader')
-rw-r--r-- | package/imx-usb-loader/Config.in.host | 9 | ||||
-rw-r--r-- | package/imx-usb-loader/imx-usb-loader.mk | 22 |
2 files changed, 31 insertions, 0 deletions
diff --git a/package/imx-usb-loader/Config.in.host b/package/imx-usb-loader/Config.in.host new file mode 100644 index 0000000000..aefa01b2b4 --- /dev/null +++ b/package/imx-usb-loader/Config.in.host @@ -0,0 +1,9 @@ +config BR2_PACKAGE_HOST_IMX_USB_LOADER + bool "host-imx-usb loader" + depends on BR2_arm + help + This package contains tools to download and execute code + on Freescale i.MX5/i.MX6 and Vybrid SoCs through the + Serial Download Protocol. + + https://github.com/boundarydevices/imx_usb_loader diff --git a/package/imx-usb-loader/imx-usb-loader.mk b/package/imx-usb-loader/imx-usb-loader.mk new file mode 100644 index 0000000000..4b60505317 --- /dev/null +++ b/package/imx-usb-loader/imx-usb-loader.mk @@ -0,0 +1,22 @@ +################################################################################ +# +# imx-usb-loader +# +################################################################################ + +IMX_USB_LOADER_VERSION = f96aee286ea17c832b7ec922dd76842deb5ce299 +IMX_USB_LOADER_SITE = $(call github,boundarydevices,imx_usb_loader,$(IMX_USB_LOADER_VERSION)) +IMX_USB_LOADER_LICENSE = LGPLv2.1+ +IMX_USB_LOADER_LICENSE_FILES = COPYING +IMX_USB_LOADER_DEPENDENCIES = host-libusb + +define HOST_IMX_USB_LOADER_BUILD_CMDS + $(HOST_MAKE_ENV) $(MAKE) -C $(@D) +endef + +define HOST_IMX_USB_LOADER_INSTALL_CMDS + $(HOST_MAKE_ENV) $(MAKE) -C $(@D) \ + DESTDIR=$(HOST_DIR) sysconfdir=/etc install +endef + +$(eval $(host-generic-package)) |