2015-05-01 18:15:40 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# imx-usb-loader
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2018-11-22 20:36:35 +01:00
|
|
|
IMX_USB_LOADER_VERSION = 4aa9809099dcece9a9225776321f3b4b5b896d78
|
|
|
|
|
2015-05-01 18:15:40 +02:00
|
|
|
IMX_USB_LOADER_SITE = $(call github,boundarydevices,imx_usb_loader,$(IMX_USB_LOADER_VERSION))
|
2017-03-30 15:43:34 +02:00
|
|
|
IMX_USB_LOADER_LICENSE = LGPL-2.1+
|
2015-05-01 18:15:40 +02:00
|
|
|
IMX_USB_LOADER_LICENSE_FILES = COPYING
|
2018-05-16 11:16:05 +02:00
|
|
|
IMX_USB_LOADER_DEPENDENCIES = libusb host-pkgconf
|
2016-07-03 00:20:47 +02:00
|
|
|
HOST_IMX_USB_LOADER_DEPENDENCIES = host-libusb host-pkgconf
|
2015-05-01 18:15:40 +02:00
|
|
|
|
2018-05-16 11:16:05 +02:00
|
|
|
define IMX_USB_LOADER_BUILD_CMDS
|
|
|
|
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)
|
|
|
|
endef
|
|
|
|
|
2015-05-01 18:15:40 +02:00
|
|
|
define HOST_IMX_USB_LOADER_BUILD_CMDS
|
2015-05-02 13:14:29 +02:00
|
|
|
$(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D)
|
2015-05-01 18:15:40 +02:00
|
|
|
endef
|
|
|
|
|
2018-05-16 11:16:05 +02:00
|
|
|
define IMX_USB_LOADER_INSTALL_TARGET_CMDS
|
|
|
|
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) prefix=$(TARGET_DIR)/usr install
|
|
|
|
endef
|
|
|
|
|
2015-05-01 18:15:40 +02:00
|
|
|
define HOST_IMX_USB_LOADER_INSTALL_CMDS
|
2017-07-05 13:14:46 +02:00
|
|
|
$(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D) prefix=$(HOST_DIR) install
|
2015-05-01 18:15:40 +02:00
|
|
|
endef
|
|
|
|
|
2018-05-16 11:16:05 +02:00
|
|
|
$(eval $(generic-package))
|
2015-05-01 18:15:40 +02:00
|
|
|
$(eval $(host-generic-package))
|