69d2b693c6
This latest revision supports starting i.MX8MQ via USB recovery mode. Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
32 lines
997 B
Makefile
32 lines
997 B
Makefile
################################################################################
|
|
#
|
|
# imx-usb-loader
|
|
#
|
|
################################################################################
|
|
|
|
IMX_USB_LOADER_VERSION = e5394615dd413c3823d5bd1de340933e16a8c07c
|
|
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))
|