mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@db180c0
This commit is contained in:
13
package/imx-usb-loader/Config.in
Normal file
13
package/imx-usb-loader/Config.in
Normal 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
|
||||
9
package/imx-usb-loader/Config.in.host
Normal file
9
package/imx-usb-loader/Config.in.host
Normal 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
|
||||
2
package/imx-usb-loader/imx-usb-loader.hash
Normal file
2
package/imx-usb-loader/imx-usb-loader.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# locally computed
|
||||
sha256 5a17886042c09f0f16093031183a287a2a7ae0fa9cd8bdfa31e7b31cb92510d9 imx-usb-loader-4aa9809099dcece9a9225776321f3b4b5b896d78.tar.gz
|
||||
32
package/imx-usb-loader/imx-usb-loader.mk
Normal file
32
package/imx-usb-loader/imx-usb-loader.mk
Normal 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))
|
||||
Reference in New Issue
Block a user