This commit is contained in:
TriForceX
2019-09-25 20:51:37 -03:00
commit 6203ff3e7c
11215 changed files with 428258 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
config BR2_PACKAGE_IMX_USB_LOADER
bool "imx-usb-loader"
depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
select BR2_PACKAGE_LIBUSB
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
comment "imx-usb-loader needs a toolchain w/ threads"
depends on !BR2_TOOLCHAIN_HAS_THREADS

View File

@@ -0,0 +1,9 @@
config BR2_PACKAGE_HOST_IMX_USB_LOADER
bool "host imx-usb-loader"
depends on BR2_arm || BR2_aarch64
help
This package contains tools to download and execute code
on Freescale i.MX5x/6x/7x/8x and Vybrid SoCs through the
Serial Download Protocol.
https://github.com/boundarydevices/imx_usb_loader

View File

@@ -0,0 +1,2 @@
# locally computed
sha256 5a17886042c09f0f16093031183a287a2a7ae0fa9cd8bdfa31e7b31cb92510d9 imx-usb-loader-4aa9809099dcece9a9225776321f3b4b5b896d78.tar.gz

View File

@@ -0,0 +1,32 @@
################################################################################
#
# imx-usb-loader
#
################################################################################
IMX_USB_LOADER_VERSION = 4aa9809099dcece9a9225776321f3b4b5b896d78
IMX_USB_LOADER_SITE = $(call github,boundarydevices,imx_usb_loader,$(IMX_USB_LOADER_VERSION))
IMX_USB_LOADER_LICENSE = LGPL-2.1+
IMX_USB_LOADER_LICENSE_FILES = COPYING
IMX_USB_LOADER_DEPENDENCIES = libusb host-pkgconf
HOST_IMX_USB_LOADER_DEPENDENCIES = host-libusb host-pkgconf
define IMX_USB_LOADER_BUILD_CMDS
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)
endef
define HOST_IMX_USB_LOADER_BUILD_CMDS
$(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D)
endef
define IMX_USB_LOADER_INSTALL_TARGET_CMDS
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) prefix=$(TARGET_DIR)/usr install
endef
define HOST_IMX_USB_LOADER_INSTALL_CMDS
$(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D) prefix=$(HOST_DIR) install
endef
$(eval $(generic-package))
$(eval $(host-generic-package))