Commit 059ab7f0 authored by Antoine Ténart's avatar Antoine Ténart Committed by Thomas Petazzoni
Browse files

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: default avatarAntoine Tenart <antoine.tenart@free-electrons.com>
Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
parent 0fc93e20
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -10,6 +10,7 @@ menu "Host utilities"
	source "package/genext2fs/Config.in.host"
	source "package/genimage/Config.in.host"
	source "package/genpart/Config.in.host"
	source "package/imx-usb-loader/Config.in.host"
	source "package/lpc3250loader/Config.in.host"
	source "package/mke2img/Config.in.host"
	source "package/mtd/Config.in.host"
+9 −0
Original line number Diff line number Diff line
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
+22 −0
Original line number Diff line number Diff line
################################################################################
#
# 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))